Help Android Wear and TV developers
Learn more
These are the Android API classes. See all API packages.
BoxInsetLayout |
BoxInsetLayout is a screen shape-aware FrameLayout that can box its children
in the center square of a round screen by using the
layout_box attribute.
|
BoxInsetLayout.LayoutParams |
adds layout_box attribute to layout parameters
|
CanvasWatchFaceService |
Base class for watch faces that draw on a Canvas .
|
CanvasWatchFaceService.Engine |
The actual implementation of a watch face that draws on a Canvas .
|
CardFragment | Presents content within an expandable, vertically scrollable card. |
CardFrame | Wraps a view in a card-styled frame with a white background, rounded corners and a light drop-shadow. |
CardScrollView | Designed to host a CardFrame and provides special support for scrolling with expansion in both the upward and downward directions. |
CircledImageView | An image view surrounded by a circle. |
ConfirmationActivity | This Activity is used to display confirmation animations after the user completes an action on the wearable. |
CrossfadeDrawable | Contains two child drawables and provides methods to directly adjust the blend between the two. |
DelayedConfirmationView |
DelayedConfirmationView provides a circular countdown timer, typically used to
automatically confirm an operation after a short delay has elapsed.
|
DelayedConfirmationView.DelayedConfirmationListener | Implement this interface to receive callbacks when the timer is finished and when the user taps the View to select it. |
DismissOverlayView | A view for implementing long-press-to-dismiss in an app. |
DotsPageIndicator |
A page indicator for GridViewPager which identifies the current page in relation to all
available pages on the current row.
|
FragmentGridPagerAdapter |
An implementation of GridPagerAdapter which represents each page as a Fragment .
|
Gles2WatchFaceService | Base class for watch faces that draw using OpenGL ES 2.0. |
Gles2WatchFaceService.Engine | The actual implementation of a watch face that draws using OpenGL ES 2.0. |
GridPageOptions | An optional interface for a Fragment within a GridViewPager which provides additional configurable options. |
GridPageOptions.BackgroundListener | Interface for communicating background changes to a listener. |
GridPagerAdapter |
This component is responsible for providing views requested by a GridViewPager .
|
GridViewPager | Layout manager that allows the user to navigate both vertically and horizontally through pages of content. |
GridViewPager.LayoutParams | Layout parameters that should be supplied for views added to a ViewPager. |
GridViewPager.OnAdapterChangeListener | Callback interface for responding to a replaced or removed adapter. |
GridViewPager.OnPageChangeListener | Callback interface for responding to changing state of the selected page. |
R | |
R.attr | |
R.color | |
R.dimen | |
R.drawable | |
R.id | |
R.layout | |
R.style | |
R.styleable |
SimpleAnimatorListener | Convenience class for listening for Animator events that implements the AnimatorListener interface and allows extending only methods that are necessary. |
WatchFaceCompanion | Constants for use by watch face configuration activities. |
WatchFaceService |
A subclass of WallpaperService with a WallpaperService.Engine that exposes
callbacks for the lifecycle of a watch face.
|
WatchFaceService.Engine | The actual implementation of a watch face. |
WatchFaceStyle | A style descriptor for watch faces. |
WatchFaceStyle.Builder | Builder for WatchFaceStyle objects. |
WatchViewStub |
A WatchViewStub allows for the use of different sub-layouts depending on the
shape of the device screen as reported by
onApplyWindowInsets .
|
WatchViewStub.OnLayoutInflatedListener | Listener for detecting when internal layout inflation has completed. |
WearableCalendarContract | The contract between the wearable calendar provider and applications. |
WearableCalendarContract.Attendees | |
WearableCalendarContract.Instances | |
WearableCalendarContract.Reminders | |
WearableListView | An alternative version of ListView that is optimized for ease of use on small screen wearable devices. |
WearableListView.Adapter | Base class for adapters providing data for the WearableListView. |
WearableListView.ClickListener | Interface for listening for click events on WearableListView. |
WearableListView.OnCenterProximityListener | Interface for receiving callbacks when WearableListView children become or cease to be the central item. |
WearableListView.OnScrollListener | Interface for listening to WearableListView content scrolling. |
WearableListView.ViewHolder | Wrapper around items displayed in the list view. |