1.Support Library
The Android Support Library package is a set of code libraries that provide backward-compatible versions of Android framework APIs as well as features that are only available through the library APIs. Each Support Library is backward-compatible to a specific Android API level. This design means that your applications can use the libraries' features and still be compatible with devices running Android 1.6 (API level 4) and up.
This guide provides information about what features are enabled by the Support Libraries, how to use them in your development environment and information about library releases.
Support Library package 是一系列向下兼容的 开发包。里面包含很多具有特性的api
2.Overview
Including the Support Libraries in your Android project is considered a best practice for application developers, depending on the range of platform versions your app is targeting and the APIs that it uses. Using the features the libraries provide can help you improve the look of your application, increase performance and broaden the reach of your application to more users. If you use the Android code template tools, you will notice that all the Android application templates include one or more of the Support Libraries by default.
在项目中使用support libary 是一个良好习惯,这些特性api 可以改善应用外观,性能,扩大用户群。注意 代码模板工具,创建的项目默认包含了相应的 support libary
The Support Libraries each target a base Android API level and each provides a different set of features. In order to effectively use the libraries, it is important to consider what features you want to support and understand what features are supported by each library at what Android API level. To get started, review the Support Library Features guide. After that, go to the Support Library Setup topic to learn how to incorporate the Support Libraries into your application. For more details about Support Library APIs, see the android.support
packages in the API reference.
不同的 api level 中 support libary中的特性可能不同,使用时要知道当前api支持哪些特性。
3.Revisions(修订记录)
This section provides details about the Support Library package releases.
Android Support Library, revision 23.1.1 (November 2015)
-
Changes for
v7 recyclerview library:
-
- Fixed a crash that occurs when you perform a swipe-to-dismiss action that the
ItemTouchHelper
utility class provides, and then add an item. (Issue 190500)
Changes for
v7 preference library:
- Fixed a crash that occurs when you perform a swipe-to-dismiss action that the
-
- Fixed an issue with ProGuard usage. (Issue 183261)
Changes for
v17 Leanback Support library:
-
- Fixed a number of internal issues in this library.
Changes for
Design Support library:
-
- Added the
getHeaderView
method to theNavigationView
class. - Fixed a transparent background issue for a
FloatingActionButton
object on devices running Android 4.0 (API level 15) and lower. (Issue 183315)
- Added the
Android Support Library, revision 23.1.0 (October 2015)
Android Support Library, revision 23.0.1 (September 2015)
Android Support Library, revision 23 (August 2015)
Android Support Library, revision 22.2.1 (July 2015)
Android Support Library, revision 22.2.0 (May 2015)
Android Support Library, revision 22.1.0 (April 2015)
Android Support Library, revision 22 (March 2015)
Android Support Library, revision 21.0.3 (December 2014)
Android Support Library, revision 21.0.2 (November 2014)
Android Support Library, revision 21.0.1 (November 2014)
Android Support Library, revision 21 (October 2014)
Android Support Library, revision 20 (July 2014)
Android Support Library, revision 19.1.0 (March 2014)
Android Support Library, revision 19.0.1 (December 2013)
Android Support Library, revision 19 (October 2013)
Android Support Library, revision 18 (July 2013)
Android Support Library, revision 13 (May 2013)
Android Support Library, revision 12 (February 2013)
Android Support Library, revision 11 (November 2012)
Android Support Library, revision 10 (August 2012)
Android Support Library, revision 9 (June 2012)
Android Support Library, revision 8 (April 2012)
Android Support Library, revision 7 (March 2012)
Android Support Library, revision 6 (December 2011)
Android Support Library, revision 5 (December 2011)
Android Support Library, revision 4 (October 2011)
Android Support Library, revision 3 (July 2011)
Android Support Library, revision 2 (May 2011)
Android Support Library, revision 1 (March 2011)