support library目录解释说明内容
?
ExifInterface Support Library這個也是一個獨立依賴的類,不需要第三方的包
Exif tags store information such as the orientation, date and time, camera information, and the location directly in a JPEG or RAW file. The ExifInterface class unbundles support for reading Exif information from JPEG and raw (DNG, CR2, NEF, NRW, ARW, RW2, ORF, PEF, SRW and RAF) formatted files, and setting the Exif information on JPEG image files.
The Gradle build script dependency identifier for this library is as follows:
com.android.support:exifinterface:28.0.0
?
Vector Drawable Library這個包會依賴很多的support包,但是不是很多有
?
Provides support for static vector graphics.
The Gradle build script dependency identifier for this library is as follows:
com.android.support:support-vector-drawable:28.0.0?
?
v4 Support Libraries:v4依賴包,這個是我們最經常用的app包了
?These libraries include the largest set of APIs compared to the other libraries, including support for application components, user interface features, accessibility, data handling, network connectivity, and programming utilities.?
For complete, detailed information about the classes and methods provided by the v4 support libraries, see the android.support.v4 package in the API reference.包括的組件包括下面幾個aar包的使用。
(v4 compat library、v4 core-utils library、v4 core-ui library、v4 media-compat library、v4 fragment library)
?
Note: Prior to Support Library revision 24.2.0, there was a single v4 support library. That library was divided into multiple modules to improve efficiency. For backwards compatibility, if you list support-v4 in your Gradle script, your APK will include all of the v4 modules. However, to reduce APK size, we recommend that you just list the specific modules your app needs.
v4包是 現在已經拆分了,可以分為好幾個包使用,這樣的好處是減少apk的大小,可以把不需要的包直接干掉,不要放到v4里面使用。
?
v7 appcompat library? ?:這個包以來v4 的包
These libraries provide specific feature sets and can be included in your application independently from each other.
?
Design Support Library主要包含谷歌的material design效果的控件,這個包依賴多個安卓的包
所以會造成app的大小增加了很多,
The design package provides APIs to support adding material design components and patterns to your apps.
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 tab
The Gradle build script dependency identifier for this library is as follows:
??
?
Annotations Support Library這個包是單獨依賴的,不會依賴任何support的包,只會依賴
一個java的注解庫,所以不會造成app的大小增大很多。
The Annotation package provides APIs to support adding annotation metadata to your apps.
The Gradle build script dependency identifier for this library is as follows:
com.android.support:support-annotations:28.0.0
?
轉載于:https://www.cnblogs.com/istar/p/10631416.html
總結
以上是生活随笔為你收集整理的support library目录解释说明内容的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 面向过程与面向对象编程的区别和优缺点
- 下一篇: Python 3基础教程15-读文件内容