Maintaining Compatibility This lesson teaches you to Define Alternative Styles Provide Alternative Layouts Use the Support Library Check the System Version You should also read Material design specification Material design on Android Some material de…
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…
Creating Lists and Cards //创建列表和卡片 To create complex lists and cards with material design styles in your apps, you can use the RecyclerView and CardView widgets. //创建材料设计风刮的灵活的列表和卡片,你可以使用RecyclerView 和CardView控件. Create Lists //创建列表 The RecyclerView…
Defining Custom Animations //自定义动画 This lesson teaches you to //本节课知识点 Customize Touch Feedback //1.自定义触摸反馈 Use the Reveal Effect //2.使用显示特效 Customize Activity Transitions //3.自定义activity切换动画 Animate View State Changes //4.动画视图状态改变 Animate Vector Dra…
Working with Drawables This lesson teaches you to Tint Drawable Resources Extract Prominent Colors from an Image Create Vector Drawables You should also read Material design specification Material design on Android The following capabilities for draw…
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系列的补充篇,因为这篇文章本来应该放到前面讲的,因为讲的是主题嘛,对于一些状态和颜色的介绍,因为我们一新建一个项目时,系统自带了三个属性的颜色,现在就重点介绍这三个颜色属性的意义和作用.讲明白这个,留着以后讲别的用. 最常用的三个颜色属性 colorPrimary colorPrimaryDark colorAccent 这三个分别代表什么意思呢? colorPrimaryDark 是状态栏底色 colorPrimary 如果你不手动自己去修改t…
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…
Creating Apps with Material Design //创建Material Design的App Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. To use material design in your Android apps, follow the guidelines described…
SnackBar是google Material Design提供的一种轻量级反馈组件.支持从布局的底部显示一个简洁的提示信息,支持手动滑动取消操作,同时在同一个时间内只能显示一个SnackBar. 那Snackbar是如何实现的呢?我们主要讨论Snackbar的显示逻辑,包括:延迟消失和同一时间只支持一个Snackbar显示 首先我们先看下Snackbar用到的两个类 p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px "PingFang…