android.widget
Interfaces
MultiChoiceModeListener |
A MultiChoiceModeListener receives events for |
OnScrollListener |
Interface definition for a callback to be invoked when the list or grid has been scrolled. |
RecyclerListener |
A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin's scrap heap. |
SelectionBoundsAdjuster |
The top-level view of a list item can implement this interface to allow itself to modify the bounds of the selection shown for that item. |
OnMenuItemClickListener |
Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners. |
Adapter |
An Adapter object acts as a bridge between an |
OnItemClickListener |
Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. |
OnItemLongClickListener |
Interface definition for a callback to be invoked when an item in this view has been clicked and held. |
OnItemSelectedListener |
Interface definition for a callback to be invoked when an item in this view has been selected. |
Advanceable |
This interface can be implemented by any collection-type view which has a notion of progressing through its set of children. |
OnDismissListener |
Listener to respond to the AutoCompleteTextView's completion list being dismissed. |
Validator |
This interface is used to make sure that the text entered in this TextView complies to a certain format. |
OnDateChangeListener |
The callback used to indicate the user changes the date. |
Checkable |
Defines an extension for views that make them checkable. |
OnChronometerTickListener |
A callback that notifies when the chronometer has incremented on its own. |
OnCheckedChangeListener |
Interface definition for a callback to be invoked when the checked state of a compound button changed. |
OnDateChangedListener |
The callback used to indicate the user changed the date. |
ExpandableListAdapter |
An adapter that links a |
OnChildClickListener |
Interface definition for a callback to be invoked when a child in this expandable list has been clicked. |
OnGroupClickListener |
Interface definition for a callback to be invoked when a group in this expandable list has been clicked. |
OnGroupCollapseListener |
Used for being notified when a group is collapsed |
OnGroupExpandListener |
Used for being notified when a group is expanded |
FilterListener |
Listener used to receive a notification upon completion of a filtering operation. |
Filterable |
Defines a filterable behavior. |
FilterQueryProvider |
This class can be used by external clients of CursorAdapter and CursorTreeAdapter to define how the content of the adapter should be filtered. |
HeterogeneousExpandableList |
Additional methods that when implemented make an |
ListAdapter |
Extended |
MediaPlayerControl | |
Tokenizer | |
Formatter |
Interface used to format current value into a string for presentation. |
OnScrollListener |
Interface to listen for the picker scroll state. |
OnValueChangeListener |
Interface to listen for changes of the current value. |
OnDismissListener |
Callback interface used to notify the application that the menu has closed. |
OnMenuItemClickListener |
Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners. |
OnDismissListener |
Listener that is called when this popup window is dismissed. |
OnCheckedChangeListener |
Interface definition for a callback to be invoked when the checked radio button changed in this group. |
OnRatingBarChangeListener |
A callback that notifies clients when the rating has been changed. |
RemoteViewsFactory |
An interface for an adapter between a remote collection view (ListView, GridView, etc) and the underlying data for that view. |
OnCloseListener | |
OnQueryTextListener |
Callbacks for changes to the query text. |
OnSuggestionListener |
Callback interface for selection events on suggestions. |
SectionIndexer |
Interface that may implemented on |
OnSeekBarChangeListener |
A callback that notifies clients when the progress level has been changed. |
OnShareTargetSelectedListener |
Listener for the event of selecting a share target. |
ViewBinder |
This class can be used by external clients of SimpleAdapter to bind values to views. |
CursorToStringConverter |
This class can be used by external clients of SimpleCursorAdapter to define how the Cursor should be converted to a String. |
ViewBinder |
This class can be used by external clients of SimpleCursorAdapter to bind values fom the Cursor to views. |
ViewBinder |
This class can be used by external clients of SimpleCursorTreeAdapter to bind values from the Cursor to views. |
OnDrawerCloseListener |
Callback invoked when the drawer is closed. |
OnDrawerOpenListener |
Callback invoked when the drawer is opened. |
OnDrawerScrollListener |
Callback invoked when the drawer is scrolled. |
SpinnerAdapter |
Extended |
OnTabChangeListener |
Interface definition for a callback to be invoked when tab changed |
TabContentFactory |
Makes the content of a tab when it is selected. |
OnEditorActionListener |
Interface definition for a callback to be invoked when an action is performed on the editor. |
ThemedSpinnerAdapter |
An extension of SpinnerAdapter that is capable of inflating drop-down views against a different theme than normal views. |
OnTimeChangedListener |
The callback interface used to indicate the time has been adjusted. |
OnMenuItemClickListener |
Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners. |
ViewFactory |
Creates views in a ViewSwitcher. |
WrapperListAdapter |
List adapter that wraps another list adapter. |
OnZoomListener |
Interface that will be called when the user performs an interaction that triggers some action, for example zooming. |
Classes
AbsListView |
Base class that can be used to implement virtualized lists of items. |
AbsoluteLayout |
A layout that lets you specify exact locations (x/y coordinates) of its children. |
AbsSeekBar |
AbsSeekBar extends the capabilities of ProgressBar by adding a draggable thumb. |
AbsSpinner |
An abstract base class for spinner widgets. |
ActionMenuView |
ActionMenuView is a presentation of a series of menu options as a View. |
AdapterView |
An AdapterView is a view whose children are determined by an |
AdapterViewAnimator |
Base class for a |
AdapterViewFlipper |
Simple |
AlphabetIndexer |
A helper class for adapters that implement the SectionIndexer interface. |
AnalogClock |
This widget displays an analogic clock with two hands for hours and minutes. |
ArrayAdapter |
You can use this adapter to provide views for an |
AutoCompleteTextView |
An editable text view that shows completion suggestions automatically while the user is typing. |
BaseAdapter |
Common base class of common implementation for an |
BaseExpandableListAdapter |
Base class for a |
Button |
A user interface element the user can tap or click to perform an action. |
CalendarView |
This class is a calendar widget for displaying and selecting dates. |
CheckBox |
A checkbox is a specific type of two-states button that can be either checked or unchecked. |
CheckedTextView |
An extension to |
Chronometer |
Class that implements a simple timer. |
CompoundButton |
A button with two states, checked and unchecked. |
CursorAdapter |
Adapter that exposes data from a |
CursorTreeAdapter |
An adapter that exposes data from a series of |
DatePicker |
Provides a widget for selecting a date. |
DialerFilter |
This widget is a layout that contains several specifically-named child views that handle keyboard entry interpreted as standard phone dialpad digits. |
DigitalClock |
Like AnalogClock, but digital. |
EdgeEffect |
This class performs the graphical effect used at the edges of scrollable widgets when the user scrolls beyond the content bounds in 2D space. |
EditText |
A user interface element for entering and modifying text. |
ExpandableListView |
A view that shows items in a vertically scrolling two-level list. |
Filter |
A filter constrains data with a filtering pattern. |
FrameLayout |
FrameLayout is designed to block out an area on the screen to display a single item. |
Gallery |
A view that shows items in a center-locked, horizontally scrolling list. |
GridLayout |
A layout that places its children in a rectangular grid. |
GridView |
A view that shows items in two-dimensional scrolling grid. |
HeaderViewListAdapter |
ListAdapter used when a ListView has header views. |
HorizontalScrollView |
Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display. |
ImageButton |
Displays a button with an image (instead of text) that can be pressed or clicked by the user. |
ImageSwitcher |
|
ImageView |
Displays image resources, for example |
LinearLayout |
A layout that arranges other views either horizontally in a single column or vertically in a single row. |
ListPopupWindow |
A ListPopupWindow anchors itself to a host view and displays a list of choices. |
ListView |
Displays a vertically-scrollable collection of views, where each view is positioned immediatelybelow the previous view in the list. |
Magnifier |
Android magnifier widget. |
MediaController |
A view containing controls for a MediaPlayer. |
MultiAutoCompleteTextView |
An editable text view, extending |
NumberPicker |
A widget that enables the user to select a number from a predefined range. |
OverScroller |
This class encapsulates scrolling with the ability to overshoot the bounds of a scrolling operation. |
PopupMenu |
A PopupMenu displays a |
PopupWindow |
This class represents a popup window that can be used to display an arbitrary view. |
ProgressBar |
A user interface element that indicates the progress of an operation. |
QuickContactBadge |
Widget used to show an image with the standard QuickContact badge and on-click behavior. |
RadioButton |
A radio button is a two-states button that can be either checked or unchecked. |
RadioGroup |
This class is used to create a multiple-exclusion scope for a set of radio buttons. |
RatingBar |
A RatingBar is an extension of SeekBar and ProgressBar that shows a rating in stars. |
RelativeLayout |
A Layout where the positions of the children can be described in relation to each other or to the parent. |
RemoteViews |
A class that describes a view hierarchy that can be displayed in another process. |
RemoteViewsService |
The service to be connected to for a remote adapter to request RemoteViews. |
ResourceCursorAdapter |
An easy adapter that creates views defined in an XML file. |
ResourceCursorTreeAdapter |
A fairly simple ExpandableListAdapter that creates views defined in an XML file. |
Scroller |
This class encapsulates scrolling. |
ScrollView |
A view group that allows the view hierarchy placed within it to be scrolled. |
SearchView |
A widget that provides a user interface for the user to enter a search query and submit a request to a search provider. |
SeekBar |
A SeekBar is an extension of ProgressBar that adds a draggable thumb. |
ShareActionProvider |
This is a provider for a share action. |
SimpleAdapter |
An easy adapter to map static data to views defined in an XML file. |
SimpleCursorAdapter |
An easy adapter to map columns from a cursor to TextViews or ImageViews defined in an XML file. |
SimpleCursorTreeAdapter |
An easy adapter to map columns from a cursor to TextViews or ImageViews defined in an XML file. |
SimpleExpandableListAdapter |
An easy adapter to map static data to group and child views defined in an XML file. |
SlidingDrawer |
SlidingDrawer hides content out of the screen and allows the user to drag a handle to bring the content on screen. |
Space |
Space is a lightweight View subclass that may be used to create gaps between components in general purpose layouts. |
Spinner |
A view that displays one child at a time and lets the user pick among them. |
StackView | |
Switch |
A Switch is a two-state toggle widget. |
TabHost |
Container for a tabbed window view. |
TableLayout |
A layout that arranges its children into rows and columns. |
TableRow |
A layout that arranges its children horizontally. |
TabWidget |
Displays a list of tab labels representing each page in the parent's tab collection. |
TextClock |
|
TextSwitcher |
Specialized |
TextView |
A user interface element that displays text to the user. |
TimePicker |
A widget for selecting the time of day, in either 24-hour or AM/PM mode. |
Toast |
A toast is a view containing a quick little message for the user. |
ToggleButton |
Displays checked/unchecked states as a button with a "light" indicator and by default accompanied with the text "ON" or "OFF". |
Toolbar |
A standard toolbar for use within application content. |
TwoLineListItem |
A view group with two children, intended for use in ListViews. |
VideoView |
Displays a video file. |
ViewAnimator |
Base class for a |
ViewFlipper |
Simple |
ViewSwitcher |
|
ZoomButton |
This widget provides a simple utility for turning a continued long-press event into a series of clicks at some set frequency. |
ZoomButtonsController |
The |
ZoomControls |
The |