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…
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…
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…
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…
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…
今天这篇文章应该算是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…
× 目录 [1]原型继承 [2]伪类继承 [3]组合继承 前面的话 学习如何创建对象是理解面向对象编程的第一步,第二步是理解继承.本文是javascript面向对象系列第三篇——实现继承的3种形式 [1]原型链 javascript使用原型链作为实现继承的主要方法,实现的本质是重写原型对象,代之以一个新类型的实例 function Super(){ this.value = true; } Super.prototype.getValue = function(){ return this.va…