Google is committed to advancing racial equity for Black communities. See how.


Create applications for Wear OS by Google smartwatches.

This table lists all the artifacts in the androidx.wear group.

Artifact Current Stable Release Next Release Candidate Beta Release Alpha Release
wear 1.1.0 - - 1.2.0-alpha05
wear-input 1.0.0 - - -
wear-complications-data - - - 1.0.0-alpha05
wear-complications-provider - - - 1.0.0-alpha05
wear-watchface - - - 1.0.0-alpha05
wear-watchface-client - - - 1.0.0-alpha05
wear-watchface-complications-rendering - - - 1.0.0-alpha05
wear-watchface-data - - - 1.0.0-alpha05
wear-watchface-style - - - 1.0.0-alpha05
This library was last updated on: January 13, 2021

Declaring dependencies

To add a dependency on Wear, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

dependencies {
    implementation "androidx.wear:wear:1.1.0"

    // Add support for wearable specific inputs
    implementation "androidx.wear:wear-input:1.0.0"
    implementation "androidx.wear:wear-input-testing:1.0.0"

    // Use to implement wear watchface complications
    implementation "androidx.wear:wear-complications-provider:1.0.0-alpha05"

    // Use to implement wear watchfaces
    implementation "androidx.wear:wear-watchface:1.0.0-alpha05"

For more information about dependencies, see Add build dependencies.


Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Wear Complications and Watchface 1.0.0

Version 1.0.0-alpha05

January 13, 2021

androidx.wear:wear-*:1.0.0-alpha05 is released. Version 1.0.0-alpha05 contains these commits.

New Features

Watchfaces often support a number of complication configurations with varying numbers of complications shown. To make this easier to set up we now support initially disabled complications by calling setEnabled(false) on the builder. These can be enabled later via ComplicationsUserStyleSetting.

API Changes

  • ComplicationHelperActivity now accepts Collection<ComplicationType> rather than an int array making it easier to use. (I1f13d)
  • ProviderInfoRetriever.retrieveProviderInfo now correctly returns ListenableFuture<ProviderInfo[]>. (If2710)
  • You can now create an initially disabled complication by calling setEnabled(false) on the builder. (Idaa53)
  • WatchFaceState now has an isHeadless property which is only true for headless instances. (Ifa900)
  • ComplicationDrawable now optionally supports synchronous loading of drawables. This is used by the screenshot APIs. (I34d4a)

Version 1.0.0-alpha04

December 16, 2020

androidx.wear:wear-*:1.0.0-alpha04 is released. Version 1.0.0-alpha04 contains these commits.

New Features

  • The wear watch face library now supports setting bounds per type. E.g. you can switch to a wide bounding box for ComplicationType.LONG_TEXT whilst using a smaller bounding box for other types.

API Changes

  • Complications now use ComplicationBounds which wraps a Map<ComplicationType, RectF> to support per complication type sizes. (I1ebe7)
  • RenderParameters now lets you specify the highlight tint for use in screen shots. (Iff42b)
  • With the exception of bounds you now have to use ComplicationsUserStyleSetting to modify complications, this is to ensure the OS is kept in sync. (I8dc5d)
  • Renderer is now a sealed class. This means CanvasRenderer and GlesRenderer are now inner classes of Renderer. (Iab5d4, b/173803230)
  • CanvasComplicationDrawable.drawHighlight renamed to drawOutline. ObservableWatchData now has a few missing UiThread annotations. ScreenState has now been fully removed from WatchState. (If1393)
  • The minimum API level for wear-watchface is now 25. Note hardware canvas support requires API level 26 or above. (Ic9bbd)
  • InteractiveWatchFaceWcsClient now has a getComplicationIdAt helper. (I05811)
  • The API level for wear-watchface-client has been reduced to 25, however the screen shot APIs require API level 27. (Id31c2)

Bug Fixes

  • We now expose the complication's current ComplicationData's ComplicationType in ComplicationState. (I9b390)
  • InteractiveWatchFaceWcs now has a method `bringAttentionToComplication to briefly highlight the specified complication. (I6d31c)
  • InteractiveWatchFaceWcsClient#setUserStyle now has an overload accepting Map which can potentially avoid an extra IPC round trip necessary to construct UserStyle. (I24eec)

Version 1.0.0-alpha03

December 2, 2020

androidx.wear:wear-*:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

New Features

The Complication class now has a compicationData property letting watch faces observe ComplicationData changes. This makes it possible to change the complication’s dimensions based on the type of the complication.

Variable frame rates are now supported by assigning to Renderer.interactiveDrawModeUpdateDelayMillis. For watch faces which run short animations every second this can lead to good power savings by going to sleep when not animating.

API Changes

  • BACKGROUND_IMAGE has been renamed to PHOTO_IMAGE along with related classes. This type of complication is not exclusively used for backgrounds hence the name change. (I995c6)
  • DefaultComplicationProviderPolicy properly annotated with IntDefs. (I3b431)
  • The hidden TimeDependentText class is no longer exposed via ContentDescriptionLabel, instead we add an accessor to get the text at a specified time. (Ica692)
  • ObservableWatchData's constructor is now internal. (I30121, b/173802666)
  • Complication now has compicationData letting watch faces observe ComplicationData changes. Complication also has a new isActiveAt call which can be used to tell if anything should be rendered at the provided datetime. (Ic0e2a)
  • The empty SharedMemoryImage is no longer in the public API. (I7ee17)
  • WatchFace.overridePreviewReferenceTimeMillis now has an IntRange annotation and the getter and setter have consistent names. (Ia5f78)
  • Complication.Builder is now created via Complication.createRoundRectComplicationBuilder or Complication.createBackgroundComplicationBuilder for clarity (I54063)
  • Added WatchFace.TapListener which allows taps not consumed by complications to be observed by the WatchFace. (Ic2fe1, b/172721168)
  • WatchFace now supports variable frame rates by assigning to Renderer.interactiveDrawModeUpdateDelayMillis. This can help preserve battery life by sleeping when not animating. (I707c9)
  • WatchFace.Builder is no longer needed and invalidate() and interactiveUpdateRateMillis have been moved to Renderer. (I329ea)
  • For better java interoperability renamed getters for boolean properties in WatchState (I6d2f1)
  • Renamed TapListener to TapCallback and InvalidateCallback to InvalidateListener for consistency. (I9414e)
  • Wear 2.0 watchface style options have been moved to their own class for clarity. WatchFace.Builder setters now have symmetrical WatchFace class getters. (Iefdfc)
  • Added InteractiveWatchFaceWcsClient and WatchFaceControlClient.getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClient which either gets an existing instance or creates it once the wallaper service has connected and made the engine. (Id666e)
  • WatchFaceControlClient is now an interface to allow tests to mock it. (I875d9)
  • HeadlessWatchFaceClient, InteractiveWatchFaceSysUiClientImpl, InteractiveWatchFaceWcsClient are now interfaces to better facilitate testing. (I7cdc3)
  • Added annotations to methods in wear-watchface-complications-rendering (I0d65c)

Bug Fixes

  • Remove screen shape from DeviceConfig, which was duplicating android.content.res.Configuration#isScreenRound() (Ifadf4)
  • Changed WatchFaceControlClient.getOrCreateWallpaperServiceBackedInteractiveWatchFaceWcsClient to accept a Map<String, String> instead of UserStyle because it's hard to create a UserStyle without knowing the schema which you can only get after the client has been created. (Iea02a)
  • Fix InteractiveWatchFaceWcsClient to use ComplicationState instead of the wire format. (Icb8a4)
  • UserStyleSettings is now a sealed class because the watch face editors only understand the built in classes. (I2d797)

Version 1.0.0-alpha02

November 11, 2020

androidx.wear:wear-*:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

API Changes

  • ComplicationDetails is now called ComplicationState and is properly wrapped and usages of wearable support @ComplicationData.ComplicationType have been migrated to androidx ComplicationType. (I4dd36)
  • Add an optional highlightedComplicationId parameter to RenderParameters which allows you to request highlighting of a single complication in screenshots. (I66ce9)
  • ComplicationProviderService to use new style complication api for consistency (Id5aea)
  • getPreviewReferenceTimeMillis now gets reference times from DeviceConfig. (I779fe)
  • Simplifying Renderer API surface, can use SurfaceHolder.Callback to observe changes instead. (I210db)
  • CanvasComplicationRenderer doesn't extend from Renderer, renaming it for clarity. (Ibe880)

Bug Fixes

  • First version of androidx.wear:wear-watchface-client (I1e35e)
  • Changed the name of GlesTextureComplication#renderer for clarity (Ib78f7)
  • Rename StyleCategory to StyleSetting for clarity (I488c7)
  • Adding UserStyleSchema for a cleaner API (If36f8)

Version 1.0.0-alpha01

October 28, 2020

androidx.wear:wear-complications-*:1.0.0-alpha01 and androidx.wear:wear-watchface-*:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

API Changes

  • Removed some things we didn't intend to expose in public api. (I41669)
  • Create androidx.wear:wear-complications-provider library. (I77f1f)
  • ComplicationsUserStyleCategory the new recommended category for configuring complications (I96909)
  • Add wear-complication-data API. (I7c268)
  • Functions with boolean return values to be prefixed with “is” rather than “get” (If36ff)
  • API advice is to avoid using protected so this class has been refactored to take parameters in via the constructor. (I61644)
  • Rename setBackgroundComplication for clarity. (I96fe3)
  • Use Kotlin properties for ComplicationDrawable isHighlighted & data (I4dcc8)
  • Instead of ComplicationRenderer.InvalidateCallback we add Complication#invalidate() (I4f4c6)
  • These APIs are being deprecated in WearableSupport and are removed here. (Ib425c)
  • Renamed some WatchFace builder methods to emphasize their wear 2.0 legacy nature. (Idb775)
  • First beta API candidate for wear/wear-watchface (Id3981)
  • First tracked version of the API. (Ie9fe6)
  • Properly hiding ComplicationDrawable.BorderStyle IntDef and move to ComplicationStyle for consistency. (I27f7a)
  • Adding missing annotations for ComplicationStyle methods (I838fd)
  • This library has no public API surface (I88e2b)
  • All style category Option classes are now properly final. (Ib8323)
  • First tracked version of the API. (I27c85)

Bug Fixes

  • Changed ComplicationProviderService to have an explicit getComplicationPreviewData method. (I4905f)
  • API lint check for MissingGetterMatchingBuilder is enabled for androidx (I4bbea, b/138602561)
  • Rename wear-complications-rendering. (Ifea02)
  • Style category display names are now CharSequences (I28990)
  • Replacing Override with Overlay to match current themes & styles naming conventions. (I4fde9)
  • Renamed UserStyle#getOptions for clarity. (I695b6)

Version 1.2.0

Version 1.2.0-alpha05

January 13, 2021

androidx.wear:wear:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.

Bug Fixes

  • Update the javadoc of AmbientModeSupport class to provide sample snippets to better demonstrate the general use of this class.

Version 1.2.0-alpha04

December 16, 2020

androidx.wear:wear:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.

API Changes

  • Added support for indicating that an Activity can be “auto-resumed” when the device leaves ambient mode in the AmbientModeSupport class. This functionality was previously available in the deprecated WearableActivity class from WearableSupportLibrary. (I336ab)
  • OngoingActivity
    • Category can now be set when creating an OngoingActivity, e.g. OngoingActivitiy.Builder.getCategory(String)
    • OngoingActivityData now has a timestamp of when the OngoingActivity was built - OngoingActivityData.getTimestamp() (I91cb4)
  • Added support for setting margins on children of WearArcLayout by changing the layout params to extend MarginLayoutParams, i.e. WearArcLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams. (I2cd88)
  • Change WearCurvedTextView's anchor type default to WearArcLayout.ANCHOR_CENTER (was WearArcLayout.ANCHOR_START). This simplifies the contract between the arc layout and the curved text as the curved text by default draws itself x-centered at the top, and the parent arc layout can rotate it to where it needs to be. (I105ff)

Version 1.2.0-alpha03

December 2, 2020

androidx.wear:wear:1.2.0-alpha03 is released. Version 1.2.0-alpha03 contains these commits.

New Features

A new layout container DismissibleFrameLayout, which handles back-button-dismiss and/or swipe-to-dismiss, intended for use within an activity. At least one listener must be added to act on a dismissal action. A listener will typically remove a containing view or a fragment from the current activity. setSwipeDismissible(boolean) & setBackButtonDismissible(boolean) are provided for direct control over the features. This new layout is meant to replace the existing SwipeDismissFrameLayout.

Curved widgets now handle touch events. Normal widgets inside an WearArcLayout will receive all touch events, mapped to their coordinate space. WearCurvedTextView (inside an WearArcLayout or not) can set onClick and onLongClick handlers.

Ongoing activities classes are now VersionedParcelables instead of using custom serialization/deserialization. The static icon and touch intent are now required.

API Changes

  • The attribute "sweepDegrees" for WearCurvedTextView is separated into minSweepDegrees and maxSweepDegrees to give a more flexible layout of this widget.

Version 1.2.0-alpha02

November 11, 2020

androidx.wear:wear:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.

This release adds a new “Ongoing Activities API” for the first time. This API can be used by developers to signal that a long running activity, such as a fitness exercise or a media playback session is on-going. It allows developers to provide periodic status updates such as “distance and time run” or “current track playing” for display on the watch face or in the app launcher. This functionality is targeted at future devices with the on-going activity functionality enabled.

API Changes

  • New API for Ongoing Activities, this is a no-op on "unsupported devices.". (I69a31)

Version 1.2.0-alpha01

October 28, 2020

androidx.wear:wear:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.

New Features

  • Added WearCurvedTextView component for easily writing curved text following the curvature of the largest circle that can be inscribed in the view. An usage example:
        android:text="example curved text"

An example of curved text in Android Wear

  • Added WearArcLayout container for laying out its child elements one by one on an arc in either the clockwise or counterclockwise direction. Its children can be both standard android widget or "curved" widgets which implement its ArcLayoutWidget interface. An usage example:
              android:text="Curved Text"

An example of arch text in Android Wear


Wear-Input 1.0.0

Version 1.0.0

December 2, 2020

androidx.wear:wear-input:1.0.0 and androidx.wear:wear-input-testing:1.0.0 are released. Version 1.0.0 contains these commits.

This release is identical to 1.0.0-rc01.

Major features of 1.0.0

  • Migration of WearableButtons functionality from Wearable Support Library to Jetpack.

  • Added androidx.wear.input.test.TestWearableButtonsProvider which implements androidx.wear.input.WearableButtonsProvider to aid testing applications developed with androidx.wear:wear-input library.

Version 1.0.0-rc01

November 11, 2020

androidx.wear:wear-input:1.0.0-rc01 and androidx.wear:wear-input-testing:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.

This release is identical to 1.0.0-beta01.

Version 1.0.0-beta01

October 28, 2020

androidx.wear:wear-input:1.0.0-beta01 and androidx.wear:wear-input-testing:1.0.0-beta01 are released with no changes since 1.1.0-alpha01. Version 1.0.0-beta01 contains these commits.

Wear-Input-Testing Version 1.0.0-alpha01

October 14, 2020

androidx.wear:wear-input-testing:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

API Changes

  • Added androidx.wear.input.test.TestWearableButtonsProvider which implements androidx.wear.input.WearableButtonsProvider to aid testing applications developed with androidx.wear:wear-input library. (I0ed0c)

Wear-Input Version 1.0.0-alpha01

September 2, 2020

androidx.wear:wear-input:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

New Features

Migration of WearableButtons functionality from Wearable Support Library to Jetpack. Additional testing support will be provided in androidx.wear:wear-input-testing library in the next Jetpack release.

Version 1.1.0

Version 1.1.0

October 14, 2020

androidx.wear:wear:1.1.0 is released. Version 1.1.0 contains these commits.

Major changes since 1.0.0

  • Added a layout_ prefix to boxedEdges attribute (now layout_BoxedEdges) for BoxInsetLayout in order to comply with android naming convention. This will remove the linter error in Android Studio for these attributes. (I4272f)
  • Added optional EXTRA_ANIMATION_DURATION_MILLIS to ConfirmationActivity to allow for the duration that the confirmation dialog is displayed. (adb83ce, b/143356547)
  • Updated WearableActionDrawViewto delay action drawer inflation until the drawer is opened for the first time. (I01026, b/163870541)

Version 1.1.0-rc03

September 2, 2020

androidx.wear:wear:1.1.0-rc03 is released. Version 1.1.0-rc03 contains these commits.

Bug Fixes

  • Fixed issue with Action Drawer not showing content when it is opened. (I01026, b/163870541)

Version 1.1.0-rc02

June 24, 2020

androidx.wear:wear:1.1.0-rc02 is released. Version 1.1.0-rc02 contains these commits.

Bug Fixes

  • Added a layout_ prefix to boxedEdges attribute (now layout_boxedEdges) for BoxInsetLayout in order to comply with android naming convention. This will remove the linter error in Android Studio for these attributes.

Version 1.1.0-rc01

May 14, 2020

androidx.wear:wear:1.1.0-rc01 is released with no changes since .1.0-beta01. Version 1.1.0-rc01 contains these commits.

Version 1.1.0-beta01

April 29, 2020

androidx.wear:wear:1.1.0-beta01 is released with no changes since androidx.wear:wear:1.1.0-alpha01. Version 1.3.0-beta01 contains these commits.

Version 1.1.0-alpha01

April 15, 2020

androidx.wear:wear:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.

API Changes

  • Added optional EXTRA_ANIMATION_DURATION_MILLIS to ConfirmationActivity to allow for the duration that the confirmation dialog is displayed. (adb83ce, 134523c, b/143356547)

Bug Fixes

  • Updated WearableActionDrawViewto delay action drawer inflation until the drawer is opened for the first time. (5cd32f7)