Skip to content

Most visited

Recently visited

added in version 22.1.0

Support android.widget classes to assist with development of applications for android API level 4 or later. This includes a complete modern implementation of CursorAdapter and related classes, which is needed for use with CursorLoader.


DrawerLayout.DrawerListener Listener for monitoring events about drawers. 
NestedScrollView.OnScrollChangeListener Interface definition for a callback to be invoked when the scroll X or Y positions of a view change. 
SimpleCursorAdapter.CursorToStringConverter This class can be used by external clients of SimpleCursorAdapter to define how the Cursor should be converted to a String. 
SimpleCursorAdapter.ViewBinder This class can be used by external clients of SimpleCursorAdapter to bind values fom the Cursor to views. 
SlidingPaneLayout.PanelSlideListener Listener for monitoring events about sliding panes. 
SwipeRefreshLayout.OnChildScrollUpCallback Classes that wish to override canChildScrollUp() method behavior should implement this interface. 
SwipeRefreshLayout.OnRefreshListener Classes that wish to be notified when the swipe gesture correctly triggers a refresh should implement this interface. 
TintableCompoundButton Interface which allows a CompoundButton to receive tinting calls from CompoundButtonCompat when running on API v20 devices or lower. 


AutoScrollHelper AutoScrollHelper is a utility class for adding automatic edge-triggered scrolling to Views. 
CircularProgressDrawable Drawable that renders the animated indeterminate progress indicator in the Material design style without depending on API level 11. 
CompoundButtonCompat Helper for accessing CompoundButton
ContentLoadingProgressBar ContentLoadingProgressBar implements a ProgressBar that waits a minimum time to be dismissed before showing. 
CursorAdapter Static library support version of the framework's CursorAdapter
DrawerLayout DrawerLayout acts as a top-level container for window content that allows for interactive "drawer" views to be pulled out from one or both vertical edges of the window. 
DrawerLayout.SavedState State persisted across instances  
DrawerLayout.SimpleDrawerListener Stub/no-op implementations of all methods of DrawerLayout.DrawerListener
EdgeEffectCompat Helper for accessing EdgeEffect
ExploreByTouchHelper ExploreByTouchHelper is a utility class for implementing accessibility support in custom Views that represent a collection of View-like logical items. 
ImageViewCompat Helper for accessing features in ImageView
ListPopupWindowCompat Helper for accessing features in ListPopupWindow
ListViewAutoScrollHelper An implementation of AutoScrollHelper that knows how to scroll through a ListView
ListViewCompat Helper for accessing features in ListView  
NestedScrollView NestedScrollView is just like ScrollView, but it supports acting as both a nested scrolling parent and child on both new and old versions of Android. 
PopupMenuCompat Helper for accessing features in PopupMenu
PopupWindowCompat Helper for accessing features in PopupWindow
ResourceCursorAdapter Static library support version of the framework's ResourceCursorAdapter
ScrollerCompat This class was deprecated in API level 26.1.0. Use OverScroller directly.  
SimpleCursorAdapter Static library support version of the framework's SimpleCursorAdapter
SlidingPaneLayout SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. 
SlidingPaneLayout.SimplePanelSlideListener No-op stubs for SlidingPaneLayout.PanelSlideListener
Space Space is a lightweight View subclass that may be used to create gaps between components in general purpose layouts. 
SwipeRefreshLayout The SwipeRefreshLayout should be used whenever the user can refresh the contents of a view via a vertical swipe gesture. 
TextViewCompat Helper for accessing features in TextView
ViewDragHelper ViewDragHelper is a utility class for writing custom ViewGroups. 
ViewDragHelper.Callback A Callback is used as a communication channel with the ViewDragHelper back to the parent view using it. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


在微信上关注 Google Developers

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)