From 6098e49daea8737561e41d3ab165cdcbf8f3b47d Mon Sep 17 00:00:00 2001 From: Cheryl Potter Date: Mon, 12 Oct 2015 15:40:00 -0700 Subject: [PATCH] docs: update Support Library links and release note b/24065341 b/23584577 b/24047203 b/24131953 Change-Id: I86bba670072e55fc02f7246d28efcd992cf624d3 --- docs/html/tools/support-library/features.jd | 44 +++--- docs/html/tools/support-library/index.jd | 165 +++++++++++++++++++- 2 files changed, 186 insertions(+), 23 deletions(-) diff --git a/docs/html/tools/support-library/features.jd b/docs/html/tools/support-library/features.jd index 4933fc8435892..61240f10d6ded 100644 --- a/docs/html/tools/support-library/features.jd +++ b/docs/html/tools/support-library/features.jd @@ -38,6 +38,8 @@ page.title=Support Library Features Support Library Revisions
  • Support Library Setup
  • +
  • + Testing Support Library
  • @@ -53,7 +55,7 @@ page.title=Support Library Features appcompat libraries, because they support a wide range of Android versions and provide APIs for recommended user interface patterns.

    -

    In order to use any of the following libraries, you must download the library files to your +

    To use any of the following libraries, you must download the library files to your Android SDK installation. Follow the directions for downloading the Support Libraries in Support Library Setup to complete this step. You must take additional steps to include a specific Support Library in @@ -151,7 +153,7 @@ numbers, can cause unexpected version updates and regression incompatibilities.<

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

    -com.android.support:support-v4:21.0.0
    +com.android.support:support-v4:23.1.0
     
    @@ -236,7 +238,7 @@ resources.

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

    -com.android.support:appcompat-v7:21.0.0
    +com.android.support:appcompat-v7:23.1.0
     
    @@ -257,7 +259,7 @@ libraries with resources.

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

    -com.android.support:cardview-v7:21.0.0
    +com.android.support:cardview-v7:23.1.0
     
    @@ -279,7 +281,7 @@ For detailed information about the v7 gridlayout library APIs, see the

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

    -com.android.support:gridlayout-v7:21.0.0
    +com.android.support:gridlayout-v7:23.1.0
     
    @@ -315,7 +317,7 @@ script dependency identifier com.android.support:support-v7-mediarouter:&l where "<revision>" is the minimum revision at which the library is available. For example:

    -com.android.support:mediarouter-v7:21.0.0
    +com.android.support:mediarouter-v7:23.1.0
     

    The v7 mediarouter library APIs introduced in Support Library @@ -341,7 +343,7 @@ resources.

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

    -com.android.support:palette-v7:21.0.0
    +com.android.support:palette-v7:23.1.0
     
    @@ -350,8 +352,8 @@ com.android.support:palette-v7:21.0.0

    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 +RecyclerView widget, a view +for efficiently displaying large data sets by providing a limited window of data items.

    After you download the Android Support Libraries, this library is located in the @@ -363,7 +365,7 @@ libraries with resources.

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

    -com.android.support:recyclerview-v7:21.0.0
    +com.android.support:recyclerview-v7:23.1.0
     
    @@ -392,7 +394,7 @@ with resources.

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

    -com.android.support:preference-v7:23.0.0
    +com.android.support:preference-v7:23.1.0
     
    @@ -456,7 +458,7 @@ resources.

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

    -com.android.support:support-v13:18.0.0
    +com.android.support:support-v13:23.1.0
     
    @@ -488,7 +490,7 @@ resources.

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

    -com.android.support:preference-v14:23.0.0
    +com.android.support:preference-v14:23.1.0
     
    @@ -517,7 +519,7 @@ resources.

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

    -com.android.support:preference-v17:23.0.0
    +com.android.support:preference-leanback-v17:23.1.0
     
    @@ -559,7 +561,7 @@ with resources.

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

    -com.android.support:leanback-v17:21.0.0
    +com.android.support:leanback-v17:23.1.0
     
    @@ -580,7 +582,7 @@ with resources.

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

    -com.android.support:support-annotations:22.0.0
    +com.android.support:support-annotations:23.1.0
     
    @@ -605,7 +607,7 @@ with resources.

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

    -com.android.support:design:22.2.0
    +com.android.support:design:23.1.0
     
    @@ -633,7 +635,7 @@ with resources.

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

    -com.android.support:customtabs:23.0.0
    +com.android.support:customtabs:23.1.0
     
    @@ -664,7 +666,7 @@ with resources.

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

    -com.android.support:percent:23.0.0
    +com.android.support:percent:23.1.0
     
    @@ -686,7 +688,7 @@ RecommendationExtender.

    After you download the Android Support Libraries, this library is located in the -{@code <sdk>/extras/android/support/customtabs} directory. For more information +{@code <sdk>/extras/android/support/recommendation} directory. For more information on how to set up your project, follow the instructions in Adding libraries with resources.

    @@ -694,5 +696,5 @@ with resources.

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

    -com.android.support:app.recommendation-app:23.0.0
    +com.android.support:recommendation:23.1.0
     
    diff --git a/docs/html/tools/support-library/index.jd b/docs/html/tools/support-library/index.jd index c5af5b6d48827..3f4a9d1ad45b6 100644 --- a/docs/html/tools/support-library/index.jd +++ b/docs/html/tools/support-library/index.jd @@ -59,10 +59,171 @@ page.title=Support Library

    This section provides details about the Support Library package releases.

    -
    -

    +

    Android Support Library, revision 24.1.0 (October 2015) +

    +
    +
    +
    Changes for v4 Support library:
    +
    +
      +
    • Added OnScrollChangedListener interface support to the + NestedScrollView widget. It + allows you to receive callbacks when the scroll X or Y positions change.
    • +
    • Added a MediaButtonReceiver class to forward received playback controls + to a service that’s managing the MediaSessionCompat class. The + MediaSessionCompat class has a + constructor that can automatically find a media button receiver in the manifest. A + media button receiver is a key part to handling + playback controls from hardware or bluetooth controls.
    • +
    +
    + + +
    Changes for v7 appcompat library:
    +
    +
      +
    • Added material design Seekbar and ImageButton widgets.
    • +
    • Updated the ImageView widget to support the tint feature.
    • +
    • Updated the look-and-feel of the SwitchCompat widget.
    • +
    +
    + +
    Changes for v7 mediarouter library:
    +
    +
      +
    • Added the following features to the MediaRouteChooserDialog class:
    • +
        +
      • Displays a loading page while discovering media route providers.
      • +
      • Includes a device type icon for easier device identification.
      • +
      • Sorts the routes according to frequency of use in the current app.
      • +
      • Supports landscape mode.
      • +
      +
    +
      +
    • Added the following features to the MediaRouteControllerDialog class:
    • +
        +
      • Recognizes screen casting and provides a proper description.
      • +
      • Supports various album art sizes and aspect ratios, and loads the art asynchronously.
      • +
      • Automatically selects the content color based on the primary color of the app.
      • +
      • Adjusts the dialog layout based on available screen space on the device.
      • +
      • Supports landscape mode.
      • +
      +
    +
    + +
    Changes for v7 palette library:
    +
    +
      +
    • Added the setRegion() method to support extracting color from a specific + region of a Bitmap object.
    • +
    +
    + +
    Changes for v7 recyclerview library:
    +
    +
      +
    • Added an improved animation API to the ItemAnimator class for better + customizations:
    • +
        +
      • Change animations no longer enforce two copies of the ViewHolder object, + which enables item content animations. Also, the ItemAnimator object + decides whether it wants to reuse the same ViewHolder object or create a + new one.
      • +
      • The new information record API gives the ItemAnimator class the flexibility + to collect data at the correct point in the layout lifecycle. This information is later + passed into the animate callbacks.
      • +
      +
    +
      +
    • Provided an easy transition plan for this backward-incompatible API change:
    • +
        +
      • If you’ve previously extended the ItemAnimator class, you can change + your base class to SimpleItemAnimator and your code should work as before. + The SimpleItemAnimator class provides the old API by wrapping the new API.
      • +
      • Some methods were removed from the ItemAnimator class. The following + code will no longer compile:
      • +
        recyclerView.getItemAnimator().setSupportsChangeAnimations(false)
        +

        You can replace it with:

        +
        +ItemAnimator animator = recyclerView.getItemAnimator();
        +if (animator instanceof SimpleItemAnimator) {
        +   ((SimpleItemAnimator) animator).setSupportsChangeAnimations(false);
        +}
        +           
        +
      +
    +
    + + +
    Changes for v7, + v14, and + v17 Preference Support library:
    +
    +
      +
    • Removed APIs for controlling EditText dialogs.
    • +
    +
    + +
    Changes for v17 Leanback Support library:
    +
    +
      +
    • Added a version of the GuidedStepFragment class for the Support library + (extends android.support.v4.app.Fragment), and improved animations and + transitions.
    • +
    • Updated the GuidedStepFragment class so it can be placed on top of + existing content.
    • +
    • Added the ability to annotate different types of search completions to the + SearchFragment class.
    • +
    • Added staggered slide transition support to the VerticalGridFragment + class.
    • +
    +
    + + +
    Changes for Design Support library:
    +
    +
      +
    • Added + character counting support to the TextInputLayout widget.
    • +
    • Added edge snapping support to the AppBarLayout class by adding the + SCROLL_FLAG_SNAP constant. When scrolling ends, if the view is only + partially visible, the view is snapped and scrolled to its closest edge.
    • +
    • Added support for custom views to the NavigationView class by using the + app:actionLayout attribute or MenuItemCompat.setActionView() + method.
    • +
    +
    + + +
    Changes for Custom Tabs Support library:
    +
    +
      +
    • Added the enableUrlBarHiding() method to the CustomTabsIntent + class. It lets the client customize whether the URL bar should be hidden automatically + on scroll down.
    • +
    • Added the setActionButton() method to the CustomTabsSession + class. It lets the client + change the icon for a custom action button in an already launched custom tab.
    • +
    • Added the TAB_SHOWN and TAB_HIDDEN constants as new events + for the onNavigationEvent method of the CustomTabsCallback + class.
    • +
    +
    + +
    + +
    +
    + + +