From 1c6c22d3a92b1446eb548b2aca77758534c7d814 Mon Sep 17 00:00:00 2001 From: Rich Slogar Date: Mon, 13 Apr 2015 14:01:04 -0700 Subject: [PATCH] docs: support library 22.1 updates Change-Id: Ia784597a6b55d322bca3aaf07b35c53d3b4b182c (cherry picked from commit 1e517de5fcc1da97c0e33e57ee19c930a188a7d5) --- docs/html/tools/support-library/index.jd | 210 ++++++++++++++++++++++- 1 file changed, 209 insertions(+), 1 deletion(-) diff --git a/docs/html/tools/support-library/index.jd b/docs/html/tools/support-library/index.jd index 56a3954bdb571..b45c7a24e664a 100644 --- a/docs/html/tools/support-library/index.jd +++ b/docs/html/tools/support-library/index.jd @@ -62,6 +62,211 @@ page.title=Support Library

Android Support Library, revision 22.1.0 (April 2015) +

+
+
+
Changes for v4 support library:
+
+
    + +
  • Added the {@link android.support.v4.graphics.ColorUtils ColorUtils} class + to provide a set of color-related utility methods. +
  • +
  • Added the {@link android.support.v4.graphics.drawable.DrawableCompat#unwrap unwrap()} and + {@link android.support.v4.graphics.drawable.DrawableCompat#wrap wrap()} methods to the + {@link android.support.v4.graphics.drawable.DrawableCompat} class , allowing you to use + {@link android.support.v4.graphics.drawable.DrawableCompat#setTint setTint()}, + {@link android.support.v4.graphics.drawable.DrawableCompat#setTintList setTintList()}, + and {@link android.support.v4.graphics.drawable.DrawableCompat#setTintMode setTintMode()} + on all API level 4 or higher devices. +
  • +
  • Added the {@link android.support.v4.os.TraceCompat} class to + write trace events to the system trace buffer, which can then be collected and + visualized using the Systrace tool. +
  • +
  • Added the {@link android.support.v4.util.CircularIntArray} class + to create circular integer array data structures. +
  • +
  • Added the {@link android.support.v4.util.CircularArray#clear clear()}, + {@link android.support.v4.util.CircularArray#removeFromStart removeFromStart()}, + and {@link android.support.v4.util.CircularArray#removeFromEnd removeFromEnd()} + methods to the {@link android.support.v4.util.CircularArray} class. Also, changed the + existing methods in this class to be non-final. +
  • +
  • Added the {@link android.support.v4.view.InputDeviceCompat} + as a helper class to access data in the + {@link android.support.v4.view.InputDeviceCompat} class. +
  • +
  • Added the {@link android.support.v4.view.LayoutInflaterCompat} + class as a helper class to access data in the + {@link android.support.v4.view.LayoutInflaterCompat} class + and added the {@link android.support.v4.view.LayoutInflaterFactory} interface. +
  • +
  • Added classes, methods, and interfaces to support nested scrolling. +
      +
    • Added the {@link android.support.v4.view.NestedScrollingChildHelper} + and {@link android.support.v4.view.NestedScrollingParentHelper} + helper classes for implementing nested scrolling parent and child views.
    • +
    • Added the {@link android.support.v4.view.NestedScrollingChild} + interface to be implemented by {@link android.view.View} subclasses.
    • +
    • Added the {@link android.support.v4.view.NestedScrollingParent} + and {@link android.support.v4.view.ScrollingView} interfaces to support + scrolling operations and provide scroll related APIs.
    • +
    • Added the + {@link android.support.v4.view.ViewGroupCompat#getNestedScrollAxes + getNestedScrollAxes()} method to the {@link android.support.v4.view.ViewGroupCompat} + class.
    • +
    • Added methods to the {@link android.support.v4.view.ViewParentCompat} class to + support nested scrolling. +
    • +
    • Added the {@link android.support.v4.widget.NestedScrollView} + class to support nested scrolling parent and child on both new and old versions of + Android. +
    • +
    +
  • +
  • Added methods and constants to the {@link android.support.v4.view.MotionEventCompat} + class for getting axis values and event source. +
  • +
  • Updated the {@link android.support.v4.view.accessibility.AccessibilityNodeInfoCompat} + class to add methods for errors, content invalidation and labels. +
  • +
  • Added the following interpolation classses for animation: + {@link android.support.v4.view.animation.FastOutLinearInInterpolator}, + {@link android.support.v4.view.animation.FastOutSlowInInterpolator}, + {@link android.support.v4.view.animation.LinearOutSlowInInterpolator}, + {@link android.support.v4.view.animation.LinearOutSlowInInterpolator}, and + {@link android.support.v4.view.animation.PathInterpolatorCompat}. +
  • +
  • Added the {@link android.support.v4.widget.Space} class to create gaps between + components in general purpose layouts. This class is deprecated in the gridlayout library. +
  • +
  • Added the {@link android.support.v4.widget.TextViewCompat} class for accessing + features in a {@link android.widget.TextView}. +
  • +
  • Added a displacement parameter to the + {@link android.support.v4.widget.EdgeEffectCompat#onPull onPull()} method in the + {@link android.support.v4.widget.EdgeEffectCompat} class. +
  • + +
+
+ + +
Changes for v7 appcompat library:
+
+
    +
  • Added tint support to appcompat widgets, including + {@link android.support.v7.widget.AppCompatAutoCompleteTextView}, + {@link android.support.v7.widget.AppCompatButton}, + {@link android.support.v7.widget.AppCompatCheckBox}, + {@link android.support.v7.widget.AppCompatCheckedTextView}, + {@link android.support.v7.widget.AppCompatEditText}, + {@link android.support.v7.widget.AppCompatMultiAutoCompleteTextView}, + {@link android.support.v7.widget.AppCompatRadioButton}, + {@link android.support.v7.widget.AppCompatRatingBar}, + {@link android.support.v7.widget.AppCompatSpinner}, and + {@link android.support.v7.widget.AppCompatTextView}. +
  • +
  • Updated the {@link android.support.v7.app.AppCompatActivity} as the base + class for activities that use the support library action bar features. This class + replaces the deprecated {@link android.support.v7.app.ActionBarActivity}. +
  • +
  • Added the + {@link android.support.v7.app.AppCompatCallback} interface + to be implemented for AppCompat to be able to perform callbacks. +
  • +
  • Added the + {@link android.support.v7.app.AppCompatDelegate} abstract class + as a delegate you can use to extend AppCompat's support to any activity. +
  • +
  • Added the + {@link android.support.v7.app.AppCompatDialog} class + as the base class for AppCompat themed dialogs. +
  • +
  • Added the spinner style + {@link android.support.v7.app.AlertDialog} and + {@link android.support.v7.app.AlertDialog.Builder} classes to provide an AppCompat + themed {@link android.app.AlertDialog}. +
  • +
  • Added the {@link android.support.v7.graphics.Palette.Builder} class + for generating {@link android.support.v7.graphics.Palette} instances. +
      +
    • Added the + {@link android.support.v7.graphics.Palette#from} + method to the {@link android.support.v7.graphics.Palette} class to + start generating a Palette with the returned + {@link android.support.v7.graphics.Palette.Builder} instance. +
    • +
    • Deprecated the {@link android.support.v7.graphics.Palette#generate generate()} and + {@link android.support.v7.graphics.Palette#generateAsync generateAsync()} methods. +
    • +
    +
  • + +
  • Added the + {@link android.support.v7.widget.GridLayout.Spec#getAbsoluteAlignment + getAbsoluteAlignment()} method to the {@link android.support.v7.widget.GridLayout.Spec} + class. +
  • +
  • Deprecated use of app:theme for styling + {@link android.support.v7.widget.Toolbar}. You can now use + android:theme for toolbars on all API level 7 and higher devices and + android:theme support for all widgets on API level 11 and higher devices. +
  • +
+
+ + +
Changes for v17 leanback library:
+
+
    +
  • Added {@link android.support.v17.leanback.app.GuidedStepFragment}, + {@link android.support.v17.leanback.widget.GuidanceStylist} and + {@link android.support.v17.leanback.widget.GuidedActionsStylist} to support + custom styling. +
  • +
+
+ + +
Changes for v7 recyclerview library:
+
+
    +
  • Added {@link android.support.v7.util.SortedList} classes to display items in + a list order and provide notification of changes to the list. +
  • +
  • Added the {@link android.support.v7.widget.util.SortedListAdapterCallback} class + that can bind a sorted list to a + {@link android.support.v7.widget.RecyclerView.Adapter} class. +
  • +
+
+ + +
Changes for v8 renderscript library:
+
+
    +
  • Added the {@link android.support.v8.renderscript.ScriptIntrinsicHistogram} class for + use as a histogram filter.
  • +
  • Added the {@link android.support.v8.renderscript.ScriptIntrinsicResize} class for + performing a resize of a 2D allocation. +
  • +
+
+ +
+ + +
+
+ + + +
+

+ Android Support Library, revision 22 (March 2015)

@@ -159,6 +364,10 @@ page.title=Support Library +
+
+ +
@@ -1113,4 +1322,3 @@ Android 3.2 and higher (all other APIs in the v4 library are already available w

Initial release with the v4 library.

-