http://developer.android.com/training/material/theme.html
  • 可以设置颜色调色板的系统部件
  • 系统小部件的触摸反馈动画
  • 活动交互动画
Material theme:
  • @android:style/Theme.Material(dark version)
  • @android:style/Theme.Material.Light(light version)
  • @android:style/Theme.Material.Light.DarkActionBar
支持API21;v7 Support Libraries支持部分widget和color palette。 定制调色板styles:定义主题属性通过继承material theme
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="android:Theme.Material">
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">@color/primary</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<!-- theme UI controls like checkboxes and text fields -->
<item name="android:colorAccent">@color/accent</item>
</style>
</resources>


更多相关文章

  1. Android模仿微信、云播雷达扫描动画效果
  2. android 4.0动画学习
  3. Android动画效果——X、Y轴抖动
  4. Android Widget 小部件(三) 在Activity中添加Widget
  5. android中动画效果的运用
  6. android 直播点赞 爱心动画
  7. Android Activity 启动/退出 动画效果
  8. Android 点击赞时弹出+1向上弹出动画

随机推荐

  1. BroadcastReceiver(三)广播消息的优先级与
  2. Android多个Activity
  3. Android(安卓)怎么把GMT+8.0转化为UTC时
  4. Android(安卓)横竖屏切换小结
  5. android 网络联接
  6. android studio 中引入第三方jar包(非源
  7. AndroidStudio快捷键整理--2
  8. Android: 启动init.rc 中service的权限问
  9. Android(安卓)浅析 EventBus (二) 原理
  10. android studio introduction No.3 hotke