diff --git a/docs/html/tools/support-library/features.jd b/docs/html/tools/support-library/features.jd index 78946ee9de94f..8311097c155e6 100644 --- a/docs/html/tools/support-library/features.jd +++ b/docs/html/tools/support-library/features.jd @@ -8,15 +8,19 @@ page.title=Support Library Features

In this document

  1. v4 Support Library
  2. -
  3. v7 Libraries +
  4. v7 Support Libraries
    1. v7 appcompat library
    2. +
    3. v7 cardview library
    4. v7 gridlayout library
    5. v7 mediarouter library
    6. +
    7. v7 palette library
    8. +
    9. v7 recyclerview library
  5. v8 Support Library
  6. v13 Support Library
  7. +
  8. v17 Leanback Library

See also

@@ -59,14 +63,14 @@ page.title=Support Library Features
  • App Components - - - @@ -136,9 +131,9 @@ page.title=Support Library Features

    This library is located in the {@code <sdk>/extras/android/support/v4/} directory after - you download the Android Support Libraries. This library does not contain user interface + 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 + Adding libraries without resources.

    The Gradle build script dependency identifier for this library is as follows:

    @@ -150,7 +145,7 @@ com.android.support:support-v4:18.0.+

    This dependency notation specifies the release version 18.0.0 or higher.

    -

    v7 Libraries

    +

    v7 Support Libraries

    There are several libraries designed to be used with Android 2.1 (API level 7) and higher. These libraries provide specific feature sets and can be included in your application @@ -159,8 +154,12 @@ com.android.support:support-v4:18.0.+

    v7 appcompat library

    -

    This library adds support for the Action - Bar user interface design pattern. +

    This library adds support for the + Action Bar user + interface design + pattern. This library includes support for + material design user interface + implementations.

    Note: @@ -187,18 +186,40 @@ com.android.support:support-v4:18.0.+

    This library is located in the {@code <sdk>/extras/android/support/v7/appcompat/} - directory after you download the Android Support Libraries. This library contains user + 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 + Adding libraries with resources.

    The Gradle build script dependency identifier for this library is as follows:

    -com.android.support:appcompat-v7:18.0.+
    +com.android.support:appcompat-v7:21.0.+
     
    -

    This dependency notation specifies the release version 18.0.0 or higher.

    +

    This dependency notation specifies the release version 21.0.0 or higher.

    + +

    v7 cardview library

    + +

    This library adds support for the {@link android.support.v7.widget.CardView} +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 +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:

    + +
    +com.android.support:cardview-v7:21.0.+
    +
    + +

    This dependency notation specifies the release version 21.0.0 or higher.

    v7 gridlayout library

    @@ -208,9 +229,9 @@ com.android.support:appcompat-v7:18.0.+ {@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. This library contains user + 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 + Adding libraries with resources.

    The Gradle build script dependency identifier for this library is as follows:

    @@ -221,6 +242,7 @@ com.android.support:gridlayout-v7:18.0.+

    This dependency notation specifies the release version 18.0.0 or higher.

    +

    v7 mediarouter library

    This library provides {@link android.support.v7.media.MediaRouter}, {@link @@ -242,7 +264,7 @@ you download the Android Support Library. It's provided as a library project with a dependency on the v7 appcompat library, so you'll need to include both libraries in your build path when setting up your project. For more information on how to set up your project, follow the instructions in adding libraries +href="{@docRoot}tools/support-library/setup.html#libs-with-res">Adding libraries with resources. If you are developing in Eclipse/ADT, make sure to include both the android-support-v7-mediarouter.jar and android-support-v7-appcompat.jar files.

    @@ -260,6 +282,52 @@ r18 are subject to change in later revisions of the Support Library. At this time, we recommend using the library only in connection with Google Cast.

    +

    v7 palette library

    + +

    The v7 palette support library includes the +{@link android.support.v7.graphics.Palette} class, which lets you extract +prominent colors from an image. For example, a music app could use a +{@link android.support.v7.graphics.Palette} object to extract the major colors +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.

    + +

    The Gradle build script dependency identifier for this library is as follows:

    + +
    +com.android.support:palette-v7:21.0.+
    +
    + +

    This dependency notation specifies the release version 21.0.0 or higher.

    + +

    v7 recyclerview library

    + +

    The recyclerview library adds the {@link android.support.v7.widget.RecyclerView} +class. This class provides support for the +RecyclerView +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 +for Adding +libraries with resources.

    + +

    The Gradle build script dependency identifier for this library is as follows:

    + +
    +com.android.support:recyclerview-v7:21.0.+
    +
    + +

    This dependency notation specifies the release version 21.0.0 or higher.

    v8 Support Library

    @@ -284,16 +352,16 @@ href="https://developers.google.com/cast/docs/android_sender">Google Cast. <

    This library is designed to be used for Android 3.2 (API level 13) and higher. It adds support for the Fragment user interface pattern with the ({@link android.support.v13.app.FragmentCompat}) class and additional fragment support - classes For more information about fragments, see the + classes. For more information about fragments, see the Fragments developer guide. For detailed information about the v13 Support Library APIs, see the {@link android.support.v13.app android.support.v13} package in the API reference.

    This library is located in the {@code <sdk>/extras/android/support/v13/} directory after - you download the Android Support Libraries. This library does not contain user interface + 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 + Adding libraries without resources.

    The Gradle build script dependency identifier for this library is as follows:

    @@ -303,3 +371,44 @@ com.android.support:support-v13:18.0.+

    This dependency notation specifies the release version 18.0.0 or higher.

    + +

    v17 Leanback Library

    + +

    The {@link android.support.v17.leanback} package provides APIs to support + building user interfaces + on TV devices. It provides a number of important widgets for TV apps. Some of the notable classes include:

    + + + +

    This library is located in the +{@code <sdk>/extras/android/support/v17/leanback} directory after +you download the Android Support Libraries. 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:leanback-v17:21.0.+
    +
    + +

    This dependency notation specifies the release version 21.0.0 or higher.

    diff --git a/docs/html/tools/support-library/index.jd b/docs/html/tools/support-library/index.jd index 68eca49fff36e..bdbcc91518661 100644 --- a/docs/html/tools/support-library/index.jd +++ b/docs/html/tools/support-library/index.jd @@ -59,8 +59,91 @@ page.title=Support Library

    This section provides details about the Support Library package releases.

    -

    +

    Android Support Library, revision 21 (October 2014) +

    +
    +
    +
    Changes for v4 support library:
    +
    +
      +
    • Added support for {@link android.support.v4.app.Fragment} + transitions for devices running Android 5.0 (API level 21). + Be aware that transitions have no effect on devices running + Android 4.4 and lower. +
    • +
    • Added {@link android.support.v4.provider.DocumentFile} to ease + the transition from {@link java.io.File} + while working with document trees. However, this class demands + more processing overhead compared to the platform's + {@link android.provider.DocumentsContract} API added in + Android 4.4 (API level 19). So you should switch to using {@link + android.provider.DocumentsContract} when running on Android 4.4 + and higher.
    • +
    +
    +
    Changes for v7 appcompat + library:
    +
    +
      +
    • Added support for material + design user interfaces.
    • +
    • Added {@link android.support.v7.widget.Toolbar}, which generalizes + the functionality of {@link android.support.v7.app.ActionBar} for + use within app layouts.
    • +
    • Updated {@link android.support.v7.app.ActionBarDrawerToggle}, + which contains the menu-to-arrow animation
    • +
    • Updated common user interface widgets to allow tinting via theme + attributes when running on pre-Android 5.0 devices
    • +
    • Added {@link android.support.v7.widget.SwitchCompat}, a backport + of the {@link android.widget.Switch} widget that was added in + Android 4.0 (API level 14).
    • +
    +
    +
    New v7 cardview library:
    +
    +
      +
    • Added the {@link android.support.v7.widget.CardView} widget, which + provides a material design-compatible implementation for displaying + data items.
    • +
    +
    +
    New v7 recyclerview + library:
    +
    +
      +
    • Added the {@link android.support.v7.widget.RecyclerView} widget, + which provides a flexible list view for providing a limited window + into a large data set.
    • +
    +
    +
    New v7 palette library:
    +
    +
      +
    • Added {@link android.support.v7.graphics.Palette} class, + which lets you extract prominent colors from an image.
    • +
    +
    +
    New v17 leanback library:
    +
    +
      +
    • Added support for building TV user interfaces, including + {@link android.support.v17.leanback.app.BrowseFragment}, + {@link android.support.v17.leanback.app.DetailsFragment}, and + {@link android.support.v17.leanback.app.PlaybackOverlayFragment}. + For more information about using these user interface widgets, + see Building TV + Playback Apps.
    • +
    +
    +
    +
    +
    + +
    +

    + Android Support Library, revision 20 (July 2014)