The v7 Preference library adds support for interfaces, such as Preference. OnPreferenceChangeListener and Preference. This library provides specific feature sets and can be included in your application independently from other libraries.
This library adds support for the RenderScript computation framework. These APIs are included in the android. You should be aware that the steps for including these APIs in your application is very different from other support library APIs. For more information about using these APIs in your application, see the RenderScript developer guide.
This library adds support for the Fragment user interface pattern with the FragmentCompat class and additional fragment support classes. For more information about fragments, see the Fragments developer guide. Note: The v4 fragment library provides a Fragment class.
The android. This package requires API level 17 or higher. The Gradle build script dependency identifier for this library is as follows:. It provides a number of important widgets for TV apps. Some of the notable classes include:. The Annotation package provides APIs to support adding annotation metadata to your apps.
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. This package requires API level 15 or higher.
The Percent package provides APIs to support adding and managing percentage based dimensions in your app. Note: As of release Results Loading Setting Up Virtual Devices. Setting Up Projects. Building and Running. Tools Help. Added improvements to FragmentManager debugging. Fixed problem in FragmentTabHost where fragment and tab interaction could result in a ListView state loss. Fixed issue with user-visible hint in FragmentStatePagerAdapter.
Added PageTransformer interface to ViewPager to allow applications to supply a custom transition behavior for scrolling. Added new features and fixes to TaskStackBuilder from current release. Fixed display flickering, positioning, and text clipping problems with PagerTitleStrip. Fixed PagerTabStrip to properly respect padding when drawing an underline. Accessibility Added support for new accessibility gesture and touch event types in AccessibilityEventCompat.
Added support for performAccessibilityAction method to ViewCompat. Added support for gestures with GestureDetectorCompat. Added support for performing atomic operations on files using a new AtomicFile class.
Added support for the full set of make methods in IntentCompat. Added trimToSize method in LruCache utility class. Support Package, revision 10 August Changes for v4 support library: Added support for notification features introduced in Android 4. Fixed various bugs for PagerTitleStrip and PagerTabStrip , including setAllCaps option, title alignment, appearance improvements, minimum width constraints and touch navigation issues. Added support for ViewPager page gutters, which helps the ViewPager class provide paging support for content with a large horizontal scroll range, such as a map.
Fixed numerous bugs for ViewPager , including size and data set change problems, page positioning, user interaction, scroll tracking and keyboard navigation problems. Fixed many bugs for Fragment , including proper handling of onActivityResult when the target fragment no longer exists, dispatching selection events to invisible fragments, improved FragmentTransaction. Added support for the postOnAnimation method in ViewCompat. Updated NavUtils to use Android 4. Accessibility Updated accessibility support classes, including AccessibilityNodeInfoCompat , to follow fixes made in Android 4.
Added support for accessibility scroll actions in ViewPager. Note that all Android Support Libraries also depend on some base level of the platform, for recent releases, that is Android 4.
Content and code samples on this page are subject to the licenses described in the Content License. Platform Architecture Generic System Image. Support library. Revision History. Android Developers. Uses for the Support Libraries There are a few distinct uses for the support libraries.
Here is a more complete list of ways you can use the support libraries in your app: Backward Compatibility for newer APIs - A large amount of the support libraries provide backward compatibility for newer framework classes and methods. For example, the Fragment support class provides support for fragments on devices running versions earlier than Android 3.
Convenience and Helper Classes - The support libraries provides a number of helper classes, particularly for user interface development. For example the RecyclerView class provides an user interface widget for displaying and managing very long lists, useable on versions of Android from API level 7 and up.
Debugging and Utilities - There are a number of features that provide utility beyond code you incorporate into your app, including the support-annotations library for improved code lint checks on method inputs and Multidex support for configuring and distributing apps with over 65, methods.
Here are the guidelines for when you should use support library classes in place of Framework APIs: Compatibility for a Specific Feature - If you want to support a recent platform feature on devices that are running earlier versions of the platform, use the equivalent classes and methods from the support library.
Compatibility for Related Library Features - More sophisticated support library classes may depend on one or more additional support library classes, so you should use support library classes for those dependencies.
General Device Compatibility - If you do not have a specific platform feature you intend to use with your app in a backward compatible way, it is still a good idea to use support library classes in your app. Format the resulting string to use all uppercase letters and no spaces. Android in PowerShell:. Rename the file to use the MD5 hash from the previous MD5 hash calculating step.
For example:. If you skip this step, then the first build that uses the library will take a little longer because it will need to complete this step. The version number for the subdirectory You can use ildasm to find the correct version number:. Double-click the Xamarin. Ensure that the Language drop-down is set to C and select the top-level Xamarin.
0コメント