直接前往內容

最常造訪的網頁

最近瀏覽的網頁

navigation
added in version 22.1.0

android.support.v4.widget

Interfaces

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. 

Classes

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.LayoutParams  
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.LayoutParams  
SlidingPaneLayout.SimplePanelSlideListener No-op stubs for SlidingPaneLayout.PanelSlideListener
Space This class was deprecated in API level 27.1.0. Use framework Space class instead.  
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. 
本網站使用 Cookie 儲存你在此指定的語言和顯示選項偏好設定。

掌握有關 Android 開發人員的最新消息和實用訣竅,協助你製作最受歡迎的 Google Play 內容。

* 必填欄位

訂閱成功!

在 WeChat 上追蹤 Google Developers

你要以瀏覽這個網站嗎?

你要求以顯示這個網頁,但你為此網站指定的語言偏好設定為

是否要變更語言偏好設定並改用瀏覽網站?稍後如要變更語言偏好設定,請利用位在每個網頁最下方的語言選單來調整設定。

你的 API 層級必須達 以上才能存取這個級別

本說明文件已隱藏,因為你為該文件選取的 API 層級為 。使用左側導覽列上方的選取工具即可變更說明文件的 API 層級。

如需進一步瞭解如何為應用程式指定 API 層級的相關資訊,請參閱 Supporting Different Platform Versions (支援不同的平台版本) (英文)。

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)