Material design之Material Theme

Material Theme提供了三方面的内容:

  • 系统组件的颜色可以自定义更改
  • 系统组件添加了触摸反馈动画效果
  • Activity切换动画效果

系统主题默认被定义在以下三个样式中:

  

使用Material主题的时候需要注意,Material目前只能运行在Android L的预览版本上。

系统组件颜色的更改:

  通过在res/values/styles建立一个新的style,继承自android:Theme.Material,

  然后可以更改适合自己应用的样式了

  

  以上更改的位置对应下图:

  

  其中的Status and Navigation Bar可以通过android:statusBarColor来更改。

Material design之Material Theme

时间: 2024-08-30 03:51:00

Material design之Material Theme的相关文章

Android Material Design-Creating Apps with Material Design(用 Material Design设计App)-(零)

转载请注明出处:http://blog.csdn.net/bbld_/article/details/40400031 翻译自:http://developer.android.com/training/material/index.html 前言 这篇文章是官方material design文档翻译的第一篇.关于material design须要了解的知识能够參阅这本中文版的译文电子书. Material design是一种跨平台的为了视觉.动作.交互设计的综合指南.要在你的Android应用

Material Design系列第三篇——Using the Material Theme

Using the Material Theme This lesson teaches you to Customize the Color Palette Customize the Status Bar Theme Individual Views You should also read Material design specification Material design on Android The new material theme provides: System widg

Material Design系列第四篇——Using the Material Theme

Defining Shadows and Clipping Views This lesson teaches you to Assign Elevation to Your Views Customize View Shadows and Outlines Clip Views You should also read Material design specification Material design on Android Material design introduces elev

Material Design简介

Material Design Material Design简介 Material Design是谷歌新的设计语言,谷歌希望寄由此来统一各种平台上的用户体验,Material Design的特点是干净的排版和简单的布局,以此来突出内容. Material Design对排版.材质.配色.光效.间距.文字大小.交互方式.动画轨迹都做出了建议,以帮助设计者设计出符合Material Design风格的应用. Material Design设计语言鼓励大家使用充满活力的鲜艳色彩,并在同一界面建议使用

进入Material Design时代

由于本文引用了大量官方文档.图片资源,以及开源社区的Lib和相关图片资源,因此在转载的时候,务必注明来源,如果使用资源请注明资源的出处,尊重版权,尊重别人的劳动成果,谢谢! Material Design 官方Material Design详细介绍文档:http://www.google.com/design/spec/material-design/introduction.html 关于Material Design是Android 5.0系统的重头戏,并在以后App中将成为一种设计标准,而

ANDROID L——Material Design详解(动画篇)

转载请注明本文出自大苞米的博客(http://blog.csdn.net/a396901990),谢谢支持! Android L: Google已经确认Android L就是Android Lollipop(5.0). 前几天发现Android5.0正式版的sdk已经可以下载了,而且首次搭载Android L系统的Nexus 6和 Nexus 9也即将上市. 所以是时候开始学习Android L了! 关于Android L如何配置模拟器和创建项目,如果大家有兴趣的话可以看看我之前的一篇文章: A

Material Design设计规范

下面的内容是在<移动互联网沙龙开年篇>做的一点分享,关于Material Design设计规范相关的. 作为技术开发者需不需要了解设计规范?个人认为非常需要,一个交流的需要,另一就是了解相关的设计才能储备相应地知识,知道UI开发的方向.这问题非常希望读者能留言讨论. Android的设计风格变迁可以划分到三个时代: 1.无序时代 2.Holo theme 3.Material Design 无序时代 无序时代是没有Android设计规范的.无序时代的Android应用设计主要是参考的iOS的设

Material Design系列第六篇——Defining Custom Animations

Defining Custom Animations This lesson teaches you to Customize Touch Feedback Use the Reveal Effect Customize Activity Transitions Animate View State Changes Animate Vector Drawables You should also read Material design specification Material design

Material Design系列第二篇——Getting Started

Getting Started This lesson teaches you to Apply the Material Theme Design Your Layouts Specify Elevation in Your Views Create Lists and Cards Customize Your Animations You should also read Material design specification Material design on Android To