Tags: danielesegato/android-support-library-archive
Tags
Android Support Library, revision 18 (July 2013) Changes for v4 support library: - User interface - Added BidiFormatter [1] for handling text strings that combine right to left and left to right-formatted text. - Modified ViewPager [2] to better handle cases where the pager has a measured width of zero in the initial layout processing. - Modified DrawerLayout [3] and SlidingPaneLayout [4] to not throw exceptions for measurement while the project code is being edited. - Accessibility - Added ExploreByTouchHelper [5] to simplify the implementation of accessibility for custom views. - Fixed a problem with ViewPager [2] incorrectly populating TYPE_VIEW_SCROLLED [6] accessibility events. - Fixed a null pointer exception in ViewPager [2] when populating an accessibility event. - Simplified AccessibilityNodeInfoCompat [7] by changing CharSequence [8] inputs to String [9] objects. - Deprecated an AccessibilityRecordCompat [10] constructor that used an Object [11] as input. - Media - Added TransportMediator [12] helper class to manage media transport control, such as play, pause, skip and other media actions. - Added DisplayManagerCompat [13] for managing display output to one or more device displays. - Other changes - Added WakefulBroadcastReceiver [14] helper class for implementing a common pattern of detecting a device wakeup event and passing work off to a Service [15] while ensuring that the device does not go back to sleep before the handoff is complete. - Added two new APIs, commitContentChanged() [16] and rollbackContentChanged() [17], to AsyncTaskLoader [18] to help deal with background updates for data changes that are subsequently canceled. New v7 appcompat library: - Added ActionBar [19] to allow implementation of the action bar user interface design pattern [20] back to Android 2.1 (API level 7) and higher. Use of this class requires that you implement your activity by extending the new ActionBarActivity [21] class. [1] http://developer.android.com/reference/android/support/v4/text/BidiFormatter.html [2] http://developer.android.com/reference/android/support/v4/view/ViewPager.html [3] http://developer.android.com/reference/android/support/v4/widget/DrawerLayout.html [4] http://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.html [5] http://developer.android.com/reference/android/support/v4/widget/ExploreByTouchHelper.html [6] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityEventCompat.html#TYPE_VIEW_SCROLLED [7] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat.html [8] http://developer.android.com/reference/java/lang/CharSequence.html [9] http://developer.android.com/reference/java/lang/String.html [10] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityRecordCompat.html [11] http://developer.android.com/reference/java/lang/Object.html [12] http://developer.android.com/reference/android/support/v4/media/TransportMediator.html [13] http://developer.android.com/reference/android/support/v4/hardware/display/DisplayManagerCompat.html [14] http://developer.android.com/reference/android/support/v4/content/WakefulBroadcastReceiver.html [15] http://developer.android.com/reference/android/app/Service.html [16] http://developer.android.com/reference/android/support/v4/content/Loader.html#commitContentChanged() [17] http://developer.android.com/reference/android/support/v4/content/Loader.html#rollbackContentChanged() [18] http://developer.android.com/reference/android/support/v4/content/AsyncTaskLoader.html [19] http://developer.android.com/reference/android/support/v7/app/ActionBar.html [20] http://design/patterns/actionbar.html [21] http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html
Support Package, revision 13 (May 2013) Changes for v4 support library: - Added DrawerLayout [1] for creating a Navigation Drawer [2] that can be pulled in from the edge of a window. - Added SlidingPaneLayout [3] widget for creating linked summary and detail views that appropriately adapt to various screen sizes. - Added ActionBarDrawerToggle [4] as a way to tie together the functions of DrawerLayout [1] and ActionBar [5]. - Added ViewDragHelper [6] as a new common component for dragging views within a parent view. - Added ScrollerCompat [7] to provide Scroller [8] and OverScroller [9] compatibility support. - Updated ViewPager [10] to throw an exception if the associated PagerAdapteri [11] class is modified without a call to notifyDataSetChanged() [12]. - Fixed an issue with ViewPager [10] children drawing sort order. - Fixed GestureDetectorCompat [13] to dispatch missing onSingleTapConfirmed(MotionEvent) [14] calls between tap timeout and long press events. [1] http://developer.android.com/reference/android/support/v4/widget/DrawerLayout.html [2] http://developer.android.com/training/implementing-navigation/nav-drawer.html [3] http://developer.android.com/reference/android/support/v4/widget/SlidingPaneLayout.html [4] http://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html [5] http://developer.android.com/reference/android/app/ActionBar.html [6] http://developer.android.com/reference/android/support/v4/widget/ViewDragHelper.html [7] http://developer.android.com/reference/android/support/v4/widget/ScrollerCompat.html [8] http://developer.android.com/reference/android/widget/Scroller.html [9] http://developer.android.com/reference/android/widget/OverScroller.html [10] http://developer.android.com/reference/android/support/v4/view/ViewPager.html [11] http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html [12] http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html#notifyDataSetChanged() [13] http://developer.android.com/reference/android/support/v4/view/GestureDetectorCompat.html [14] http://developer.android.com/reference/android/view/GestureDetector.SimpleOnGestureListener.html#onSingleTapConfirmed(android.view.MotionEvent)
Support Package, revision 12 (February 2013) Changes for v4 support library: - Improved interaction behavior for ViewPager [1]. - Fixed a bug that could cause ViewPager [1] to select the wrong page. - Fixed use of removeView() [2] method during layout for ViewPager [1]. - Fixed issue with SearchViewCompat [3] where using the back button to dismiss does not clear the search text. This fix only applies to host API levels 14 and higher. [1] http://developer.android.com/reference/android/support/v4/view/ViewPager.html [2] http://developer.android.com/reference/android/support/v4/view/ViewPager.html#removeView(android.view.View) [3] http://developer.android.com/reference/android/support/v4/widget/SearchViewCompat.html
Support Package, revision 11 (November 2012) Changes for v4 support library: - User Interface - Added support for nested Fragment [1] classes. - Added improvements to FragmentManager [2] debugging. - Fixed problem in FragmentTabHost [3] where fragment and tab interaction could result in a ListView [4] state loss. - Fixed issue with user-visible hint in FragmentStatePagerAdapter [5]. - Added PageTransformer [6] interface to ViewPager [7] to allow applications to supply a custom transition behavior for scrolling. - Added new features and fixes to TaskStackBuilder [8] from current release. - Fixed PagerTitleStrip [9] to correctly track the PagerAdapter [10] currently in use. - Fixed display flickering, positioning, and text clipping problems with PagerTitleStrip [9]. - Fixed PagerTabStrip [11] to properly respect padding when drawing an underline. - Accessibility - Added support for new accessibility gesture and touch event types in AccessibilityEventCompat [12]. - Added support for new accessibility APIs in ViewCompat [13]. - Added support for performAccessibilityAction() [14] method to ViewCompat [13]. - Added support for gestures with GestureDetectorCompat [15]. - Added support for performing atomic operations on files using a new AtomicFile [16] class. - Added support for the full set of make methods in IntentCompat [17]. - Added trimToSize() [18] method in LruCache [19] utility class. - Updated ConnectivityManagerCompat [20] to get NetworkInfo from a CONNECTIVITY_ACTION [21] broadcast. [1] http://developer.android.com/reference/android/support/v4/app/Fragment.html [2] http://developer.android.com/reference/android/support/v4/app/FragmentManager.html [3] http://developer.android.com/reference/android/support/v4/app/FragmentTabHost.html [4] http://developer.android.com/reference/android/widget/ListView.html [5] http://developer.android.com/reference/android/support/v4/app/FragmentStatePagerAdapter.html [6] http://developer.android.com/reference/android/support/v4/view/ViewPager.PageTransformer.html [7] http://developer.android.com/reference/android/support/v4/view/ViewPager.html [8] http://developer.android.com/reference/android/support/v4/app/TaskStackBuilder.html [9] http://developer.android.com/reference/android/support/v4/view/PagerTitleStrip.html [10] http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html [11] http://developer.android.com/reference/android/support/v4/view/PagerTabStrip.html [12] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityEventCompat.html [13] http://developer.android.com/reference/android/support/v4/view/ViewCompat.html [14] http://developer.android.com/reference/android/support/v4/view/ViewCompat.html#performAccessibilityAction(android.view.View, int, android.os.Bundle) [15] http://developer.android.com/reference/android/support/v4/view/GestureDetectorCompat.html [16] http://developer.android.com/reference/android/support/v4/util/AtomicFile.html [17] http://developer.android.com/reference/android/support/v4/content/IntentCompat.html [18] http://developer.android.com/reference/android/support/v4/util/LruCache.html#trimToSize(int) [19] http://developer.android.com/reference/android/support/v4/util/LruCache.html [20] http://developer.android.com/reference/android/support/v4/net/ConnectivityManagerCompat.html [21] http://developer.android.com/reference/android/net/ConnectivityManager.html#CONNECTIVITY_ACTION
Support Package, revision 10 (August 2012) Changes for v4 support library: - Added support for notification features introduced in Android 4.1 (API Level 16) with additions to NotificationCompat [1]. [1] http://developer.android.com/reference/android/support/v4/app/NotificationCompat.html
Support Package, revision 9 (June 2012) Changes for v4 support library: - User Interface Support - Added PagerTabStrip [1] support, providing enhanced functionality beyond PagerTitleStrip [2]. - Fixed various bugs for PagerTitleStrip [2] and PagerTabStrip [1], including setAllCaps [3] option, title alignment, appearance improvements, minimum width constraints and touch navigation issues. - Added support for ViewPager [4] page gutters, which helps the ViewPager [4] class provide paging support for content with a large horizontal scroll range, such as a map. - Fixed numerous bugs for ViewPager [4], including size and data set change problems, page positioning, user interaction, scroll tracking and keyboard navigation problems. - Fixed many bugs for Fragment [5], including proper handling of onActivityResult() [6] when the target fragment no longer exists, dispatching selection events to invisible fragments, improved FragmentTransaction.replace() [7] behavior and added better state handling for fragments being moved out of view. - Added support for the postOnAnimation() [8] method in ViewCompat [8]. - Updated NavUtils [9] to use Android 4.1 (API level 16) Up navigation functionality when available. - Accessibility - Updated accessibility support classes, including AccessibilityNodeInfoCompat [10], to follow fixes made in Android 4.1 (API level 16). - Added support for accessibility scroll actions in ViewPager [4]. - General improvements - Updated TaskStackBuilder [11] to reflect API changes in Android 4.1 (API level 16). - Enhanced TaskStackBuilder [11] to allow it to be used from a Service. - Added support for EXTRA_HTML_TEXT [12] to ShareCompat [13]. - Updated NotificationCompat.Builder [14] to support the setNumber() [15] method. - Added support in ConnectivityManagerCompat [16] for the isActiveNetworkMetered() [17] method. [1] http://developer.android.com/reference/android/support/v4/view/PagerTabStrip.html [2] http://developer.android.com/reference/android/support/v4/view/PagerTitleStrip.html [3] http://developer.android.com/reference/android/widget/TextView.html#setAllCaps(boolean) [4] http://developer.android.com/reference/android/support/v4/view/ViewPager.html [5] http://developer.android.com/reference/android/support/v4/app/Fragment.html [6] http://developer.android.com/reference/android/support/v4/app/Fragment.html#onActivityResult(int, int, android.content.Intent) [7] http://developer.android.com/reference/android/support/v4/app/FragmentTransaction.html#replace(int, android.support.v4.app.Fragment) [8] http://developer.android.com/reference/android/support/v4/view/ViewCompat.html [9] http://developer.android.com/reference/android/support/v4/app/NavUtils.html [10] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat.html [11] http://developer.android.com/reference/android/support/v4/app/TaskStackBuilder.html [12] http://developer.android.com/reference/android/support/v4/content/IntentCompat.html [13] http://developer.android.com/reference/android/support/v4/app/ShareCompat.html [14] http://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html [15] http://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html#setNumber(int) [16] http://developer.android.com/reference/android/support/v4/net/ConnectivityManagerCompat.html [17] http://developer.android.com/reference/android/support/v4/net/ConnectivityManagerCompat.html#isActiveNetworkMetered(android.net.ConnectivityManager)
Support Package, revision 8 (April 2012) Changes for v4 support library: - Fixed intent flags for PendingIntent [1] objects generated by TaskStackBuilder [2]. - Removed unused attributes from the gridlayout library projects to make sure the library can be built with API Level 7 and higher. - Added .classpath and .project files for the gridlayout library project. [1] http://developer.android.com/reference/android/app/PendingIntent.html [2] http://developer.android.com/reference/android/support/v4/app/TaskStackBuilder.html
Support Package, revision 7 (March 2012) Changes for v4 support library: - Added ShareCompat [1], which provides helper classes for sending and receiving content for social sharing applications, including new metadata for attributing shared data to the source app. This class also provides compatible integration with the new ShareActionProvider [2] in Android 4.0. - Added NavUtils [3] and TaskStackBuilder [4] to provide support for implementing the Android Design [5] guidelines for navigation. These additions include a way to implement the action bar's Up button across versions. For an example implementation of this pattern, see the AppNavigation sample in (<sdk>/samples/<platform>/AppNavigation). - Added NotificationCompat.Builder [6] to provide a compatibility implementation of Android 3.0's Notification.Builder [7] helper class for creating standardized system notifications. [1] http://developer.android.com/reference/android/support/v4/app/ShareCompat.html [2] http://developer.android.com/reference/android/widget/ShareActionProvider.html [3] http://developer.android.com/reference/android/support/v4/app/NavUtils.html [4] http://developer.android.com/reference/android/support/v4/app/TaskStackBuilder.html [5] http://developer.android.com/design/index.html [6] http://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html [7] http://developer.android.com/reference/android/app/Notification.Builder.html
Support Package, revision 6 (December 2011) Note: Reference for support library APIs are now available with the framework references, for example: android.support.v4.app [1]. Changes for v4 support library: - Changes to ViewPager: - Added extra decorative view support for ViewPager [2]. Decorative views may be supplied as child views of a pager in XML layout. - Added PagerAdapter.getPageTitle() [3] to supply title strings for pages, which defaults to no title for each page. - Added PagerTitleStrip [4], a non-interactive title strip, that can be added as a child of ViewPager. Developers can supply text appearance and color, as well as layout sizing and gravity information. - Updated PagerAdapter [5] methods to take ViewGroup objects, rather than View to avoid class casting in adapter implementations. - Updated ViewPager [2] to use Launcher-style fling behavior. - Bug fixes for user interface interaction and test automation. - Support for Fragments: - Changed setStartDeferred() method to setUserVisibleHint(boolean) [6]. - Added deferred start for off-screen pages to improve performance. - Support for Accessiblity APIs: - Updated AccessibilityDelegateCompat [7] methods to return empty lists instead of null. - Added new APIs needed by the v4 samples. [1] http://developer.android.com/reference/android/support/v4/app/package-summary.html [2] http://developer.android.com/reference/android/support/v4/view/ViewPager.html [3] http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html#getPageTitle(int) [4] http://developer.android.com/reference/android/support/v4/view/PagerTitleStrip.html [5] http://developer.android.com/reference/android/support/v4/view/PagerAdapter.html [6] http://developer.android.com/reference/android/support/v4/app/Fragment.html#setUserVisibleHint(boolean) [7] http://developer.android.com/reference/android/support/v4/view/AccessibilityDelegateCompat.html
Support Package, revision 5 (December 2011) Changes for v4 support library: - Support for Accessiblity APIs: - Added AccessibilityDelegateCompat [1] to support View.AccessibilityDelegate [2]. - Added AccessibilityEventCompat [3] to support AccessibilityEvent [4]. - Added AccessibilityManagerCompat [5] to support AccessibilityManager [6]. - Added AccessibilityNodeInfoCompat [7] to support AccessibilityNodeInfo [8]. - Added AccessibilityRecordCompat [9] to support AccessibilityRecord [10]. - Added AccessibilityServiceInfoCompat [11] to support AccessibilityServiceInfo [12]. - Added ViewGroupCompat [13] to support accessibility features in ViewGroup [14]. - Modified ViewCompat [15] to support accessibility features in View [16]. - Changes to ViewPager: - Added support for margins between pages. An optional Drawable [17] can be provided to fill the margins. - Added support for EdgeEffect [18]. - Added support for keyboard navigation - Added support to control how many pages are kept to either side of the current page. - Improved touch physics. - Bug fixes for user interface behavior. [1] http://developer.android.com/reference/android/support/v4/view/AccessibilityDelegateCompat.html [2] http://developer.android.com/reference/android/view/View.AccessibilityDelegate.html [3] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityEventCompat.html [4] http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html [5] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityManagerCompat.html [6] http://developer.android.com/reference/android/view/accessibility/AccessibilityManager.html [7] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityNodeInfoCompat.html [8] http://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html [9] http://developer.android.com/reference/android/support/v4/view/accessibility/AccessibilityRecordCompat.html [10] http://developer.android.com/reference/android/view/accessibility/AccessibilityRecord.html [11] http://developer.android.com/reference/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat.html [12] http://developer.android.com/reference/android/accessibilityservice/AccessibilityServiceInfo.html [13] http://developer.android.com/reference/android/support/v4/view/ViewGroupCompat.html [14] http://developer.android.com/reference/android/view/ViewGroup.html [15] http://developer.android.com/reference/android/support/v4/view/ViewCompat.html [16] http://developer.android.com/reference/android/view/View.html [17] http://developer.android.com/reference/android/graphics/drawable/Drawable.html [18] http://developer.android.com/reference/android/widget/EdgeEffect.html
PreviousNext