Support Library官方教程(1)概述

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:
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 the NavigationView class.
  • Fixed a transparent background issue for a FloatingActionButton object on devices running Android 4.0 (API level 15) and lower. (Issue 183315)

转载于:https://www.cnblogs.com/sjjg/p/5113510.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值