在2015年的GoogleIO大会上。具体的Material Design设计规范出炉了。全新的Android Design Support Library
Pane What's even more enjoyable is that these cool styles can be made from the Android Design support library to the lower version number to the Api==8
2.2 Version number, this cannot be said to be the gospel of our developers.
Several elements of the Material design style are:
- Flat, Simple wind
- Animations have a good transition effect
Intuitive changes in material space position. Good stereo effect.
Its design principles can be tested: http://www.leiphone.com/news/201406/nine-principle-material-design.html
Configuring the Android Design support Library in Androidstudio:
The first step is to check if the corresponding library in the SDK in Androidstudio is installed:
- The library to install is here:
The androidstudio of my local computer is already installed.
- Step Two: Create a new Android project and configure it accordingly. Now that we've built the project Supportdemo, and then make the following configuration, select Project first. right mouse button for module setting
The module setting is followed.
Once this is configured, you will be able to see, for example, the following code in the project's Build.gradle file (in fact, you can write this code directly in this file). Then build under project will be able to:
With the above steps. We've configured the Android Design support Library in Androidstudio.
Configuring the Android Design Support library in Eclipse is also easier: Find the folder where the downloaded Android design support library files are located. Import the design file as a project into Eclipse, as a libraryproject, set up project, and associate Libraryproject with your project on the OK!
Introduction to the Android Design Support Library: Environment building