From c9e841efb1caccee24f0abbe4b347cd236129c19 Mon Sep 17 00:00:00 2001
From: Rich Slogar See also
@@ -131,11 +133,11 @@ page.title=Support Library Features
API reference.
This library is located in the {@code <sdk>/extras/android/support/v4/} directory after - you download the Android Support Libraries. The library does not contain user interface - resources. To include it in your application project, follow the instructions for - Adding libraries without - resources.
+After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/v4/} directory. The library does not contain user +interface resources. To include it in your application project, follow the instructions for +Adding libraries without +resources.
Caution: Using dynamic dependencies, especially for higher version numbers, can cause unexpected version updates and regression incompatibilities.
@@ -158,10 +160,11 @@ com.android.support:support-v4:21.0.0- This library is located in the {@code <sdk>/extras/android/support/multidex/} directory - after you download the Android Support Libraries. The library does not contain user interface - resources. To include it in your application project, follow the instructions for Adding libraries without + After you download the Android Support Libraries, this library is located in the + {@code <sdk>/extras/android/support/multidex/} directory. The library does not contain + user interface resources. To include it in your application project, follow the instructions + for + Adding libraries without resources.
@@ -218,11 +221,11 @@ com.android.support:multidex:1.0.0 -This library is located in the {@code <sdk>/extras/android/support/v7/appcompat/} - directory after you download the Android Support Libraries. The library contains user - interface resources. To include it in your application project, follow the instructions for - Adding libraries with - resources.
+After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/v7/appcompat/} directory. The library contains user +interface resources. To include it in your application project, follow the instructions for +Adding libraries with +resources.
The Gradle build script dependency identifier for this library is as follows:
@@ -239,9 +242,8 @@ widget, which lets you show information inside cards that have a consistent look on any app. These cards are useful for material design implementations, and are used extensively in layouts for TV apps. -This library is located in the -{@code <sdk>/extras/android/support/v7/cardview/} directory after you -download the Android Support Libraries. The library contains user interface +
After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/v7/cardview/} directory. The library contains user interface resources. To include it in your application project, follow the instructions for Adding libraries with resources.
@@ -256,13 +258,14 @@ com.android.support:cardview-v7:21.0.0This library adds support for the {@link android.support.v7.widget.GridLayout} class, which - allows you to arrange user interface elements using a grid of rectangular cells. - For detailed information about the v7 gridlayout library APIs, see the - {@link android.support.v7.widget android.support.v7.widget} package in the API reference.
+After you download the Android Support Libraries, this library adds support for the +{@link android.support.v7.widget.GridLayout} class, which +allows you to arrange user interface elements using a grid of rectangular cells. +For detailed information about the v7 gridlayout library APIs, see the +{@link android.support.v7.widget android.support.v7.widget} package in the API reference.
This library is located in the {@code <sdk>/extras/android/support/v7/gridlayout/} - directory after you download the Android Support Libraries. The library contains user + directory . The library contains user interface resources. To include it in your application project, follow the instructions for Adding libraries with resources.
@@ -323,12 +326,11 @@ prominent colors from an image. For example, a music app could use a from an album cover, and use those colors to build a color-coordinated song title card. -This library is located in the -{@code <sdk>/extras/android/support/v7/palette/} directory after - you download the Android Support Libraries. The library does not contain user interface - resources. To include it in your application project, follow the instructions for - Adding libraries without - resources.
+After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/v7/palette/} directory. The library does not contain +user interface resources. To include it in your application project, follow the instructions for +Adding libraries without +resources.
The Gradle build script dependency identifier for this library is as follows:
@@ -346,10 +348,9 @@ class. This class provides support for the widget, a view for efficiently displaying large data sets by providing a limited window of data items. -This library is located in the -{@code <sdk>/extras/android/support/v7/recyclerview/} directory after you -download the Android Support Libraries. The library contains user interface -resources. To include it in your application project, follow the instructions +
After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/v7/recyclerview/} directory. The library contains +user interface resources. To include it in your application project, follow the instructions for Adding libraries with resources.
@@ -363,6 +364,12 @@ com.android.support:recyclerview-v7:21.0.0This library is designed to be used with Android 2.2 (API level 8) and higher. + This library provides specific feature sets and can be included in your application + independently from other libraries.
+ +This library is designed to be used with Android (API level 8) and higher. It adds support for the RenderScript computation framework. These APIs are included in the {@link android.support.v8.renderscript} package. You @@ -374,9 +381,20 @@ com.android.support:recyclerview-v7:21.0.0
Note: Use of RenderScript with the support library is supported with Android
- Studio and Gradle-based builds, as well as the Eclipse plugin and Ant build tools.
+ Studio and Gradle-based builds, as well as the Eclipse plugin and Ant build tools. The
+ renderscript library is located in the build-tools/$VERSION/renderscript/ folder.
The following example shows the Gradle build script properties for this library:
+ +
+defaultConfig {
+ renderscriptTargetApi 18
+ renderscriptSupportModeEnabled true
+}
+
+
+
This library is located in the {@code <sdk>/extras/android/support/v13/} directory after - you download the Android Support Libraries. The library does not contain user interface - resources. To include it in your application project, follow the instructions for - Adding libraries without - resources.
+After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/v13/} directory. The library does not contain user +interface resources. To include it in your application project, follow the instructions for +Adding libraries without +resources.
The Gradle build script dependency identifier for this library is as follows:
@@ -429,9 +447,8 @@ com.android.support:support-v13:18.0.0 into a {@link android.support.v17.leanback.app.RowsFragment}. -This library is located in the -{@code <sdk>/extras/android/support/v17/leanback} directory after -you download the Android Support Libraries. For more information +
After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/v17/leanback} directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.
@@ -444,3 +461,48 @@ com.android.support:leanback-v17:21.0.0 +The Annotation +package provides APIs to support adding annotation metadata to your apps.
+ + + +After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/annotations} directory. For more information +on how to set up your project, follow the instructions in Adding libraries +with resources.
+ +The Gradle build script dependency identifier for this library is as follows:
+ ++com.android.support:support-annotations:22.0.0 ++ + + +
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 tabs.
+ + +After you download the Android Support Libraries, this library is located in the +{@code <sdk>/extras/android/support/design} directory. For more information +on how to set up your project, follow the instructions in Adding libraries +with resources.
+ +The Gradle build script dependency identifier for this library is as follows:
+ ++com.android.support:support-design:22.0.0 ++ + diff --git a/docs/html/tools/support-library/index.jd b/docs/html/tools/support-library/index.jd index 98c9ad54b570..1dad6b808597 100644 --- a/docs/html/tools/support-library/index.jd +++ b/docs/html/tools/support-library/index.jd @@ -59,13 +59,187 @@ page.title=Support Library
This section provides details about the Support Library package releases.
-
-
Android Support Library, revision 22.2.0 (May 2015)
+
Deprecated the + {@link android.support.v4.view.ViewPager#setOnPageChangeListener setOnPageChangeListener()} method.
+
+
Android Support Library, revision 22.1.0 (April 2015)