Using the Material Theme
16lz
2021-01-23
http://developer.android.com/training/material/theme.html
- 可以设置颜色调色板的系统部件
- 系统小部件的触摸反馈动画
- 活动交互动画
@android:style/Theme.Material
(dark version)@android:style/Theme.Material.Light
(light version)@android:style/Theme.Material.Light.DarkActionBar
<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>
更多相关文章
- Android模仿微信、云播雷达扫描动画效果
- android 4.0动画学习
- Android动画效果——X、Y轴抖动
- Android Widget 小部件(三) 在Activity中添加Widget
- android中动画效果的运用
- android 直播点赞 爱心动画
- Android Activity 启动/退出 动画效果
- Android 点击赞时弹出+1向上弹出动画