Support Library文档归类
- v4 Support Library
- Multidex Support Library
- v7 Support Libraries
v7 appcompat library
v7 cardview library
v7 gridlayout library
v7 mediarouter library
v7 palette library
v7 recyclerview library
- v8 Support Library
- v13 Support Library
- v17 Leanback Library
- Annotations Support Library
- Design Support Library
Each library is called v<api>, indicating the minimum API level that they require
Support Library介绍:Android的Support Library支持库是一组提供了仅可通过库API的Android框架API的向后兼容的版本,以及功能的代码库。
每个支持库是向后兼容到一个特定的Android API级别。这样的设计意味着你的应用程序能兼容较低版本系统,使之仍然可以使用Material Design等设计。
一般情况下,我们建议包括V4支持和V7应用程序兼容性库,因为它们支持广泛的Android版本,并提供建议的用户界面模式的API
Android Support Library支持库也有很多版本,随着版本的迭代,又增加或者改变了一些控件,故认为应该尽量使用较高版本的支持库。
v4 Support Library 这个库的设计与Android1.6(API级别4)和较高的使用
The Gradle build script dependency identifier for this library is as follows:
com.android.support:support-v4:21.0.0
v7 appcompat libraries
This library adds support for the Action Bar user interface design pattern. This library includes support for material design user interface implementations.
这个库增加了Action Bar的用户界面设计模式的支持,这个库包含了Material Design的用户界面实现支持。
Here are a few of the key classes included in the v7 appcompat library:
•ActionBar - Provides an implementation of the action bar user interface pattern. For more information on using the Action Bar, see the Action Bar developer guide.
•AppCompatActivity - Adds an application activity class that can be used as a base class for activities that use the Support Library action bar implementation.
不过Google建议使用Toolbar代替ActionBar。
compile 'com.android.support:appcompat-v7:24.0.0'(如果你使用的是Eclipse或者Ant编译你的APP,这个包需要依赖android-support-v4.jar,这两个包要同时包含进工程中)
v7 cardview library
com.android.support:cardview-v7:21.0.0
v7 gridlayout library
com.android.support:gridlayout-v7:21.0.0
Design Support Library
该设计套件提供的API来支持材料设计的组件和模式来应用到你的程序。该库提供了Material Design质感设计.
The Design Support library adds support for various material design components and patterns for app developers to build upon, such as navigation drawers, floating action buttons (FAB), snackbars, and tabs.
compile 'com.android.support:design:24.0.0'
v13 Support Library
这个库的设计与Android3.2(API级别13)和较高的使用
com.android.support:support-v13:18.0.0
Android Support Library更加详细介绍:https://zhuanlan.zhihu.com/p/20260335
这里介绍了Android Support Library的前世今生http://www.jianshu.com/p/f5f9a4fd22e8
https://www.zhihu.com/question/30880959
http://blog.csdn.net/zhangke3016/article/details/51771860