# androidx.wear.widget

# androidx.wear.widget

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/widget/package-summary "View this page in Java")

## Interfaces

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ArcLayout.Widget](https://developer.android.com/reference/kotlin/androidx/wear/widget/ArcLayout.Widget)                                                               | Interface for a widget which knows it is being rendered inside an arc, and will draw itself accordingly.                                                                                                                                                                           |
| [CircularProgressLayout.OnTimerFinishedListener](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout.OnTimerFinishedListener)   | Interface to implement for listening to[onTimerFinished](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout.OnTimerFinishedListener#onTimerFinished(androidx.wear.widget.CircularProgressLayout))event.                                    |
| [ConfirmationOverlay.OnAnimationFinishedListener](https://developer.android.com/reference/kotlin/androidx/wear/widget/ConfirmationOverlay.OnAnimationFinishedListener) | Interface for listeners to be notified when the[ConfirmationOverlay](https://developer.android.com/reference/kotlin/androidx/wear/widget/ConfirmationOverlay)animation has finished and its[View](https://developer.android.com/reference/android/view/View.html)has been removed. |

## Classes

|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ArcLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/ArcLayout)                                                                   | Container which will lay its elements out on an arc.                                                                                                                                                                                                                                                                                                                            |
| [ArcLayout.LayoutParams](https://developer.android.com/reference/kotlin/androidx/wear/widget/ArcLayout.LayoutParams)                                         | Layout parameters for a widget added to an arc.                                                                                                                                                                                                                                                                                                                                 |
| [BoxInsetLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/BoxInsetLayout)                                                         | BoxInsetLayout is a screen shape-aware ViewGroup that can box its children in the center square of a round screen by using the`layout_boxedEdges`attribute.                                                                                                                                                                                                                     |
| [BoxInsetLayout.LayoutParams](https://developer.android.com/reference/kotlin/androidx/wear/widget/BoxInsetLayout.LayoutParams)                               | Per-child layout information for layouts that support margins, gravity and boxedEdges.                                                                                                                                                                                                                                                                                          |
| [CircularProgressLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout)                                         | [CircularProgressLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout)adds a circular countdown timer behind the view it contains, typically used to automatically confirm an operation after a short delay has elapsed.                                                                                                          |
| [ConfirmationOverlay](https://developer.android.com/reference/kotlin/androidx/wear/widget/ConfirmationOverlay)                                               | Displays a full-screen confirmation animation with optional text and then hides it.                                                                                                                                                                                                                                                                                             |
| [CurvedTextView](https://developer.android.com/reference/kotlin/androidx/wear/widget/CurvedTextView)                                                         | CurvedTextView is a component allowing developers to easily write curved text following the curvature of the largest circle that can be inscribed in the view.                                                                                                                                                                                                                  |
| [CurvingLayoutCallback](https://developer.android.com/reference/kotlin/androidx/wear/widget/CurvingLayoutCallback)                                           | An implementation of the[WearableLinearLayoutManager.LayoutCallback](https://developer.android.com/reference/kotlin/androidx/wear/widget/WearableLinearLayoutManager.LayoutCallback)aligning the children of the associated[WearableRecyclerView](https://developer.android.com/reference/kotlin/androidx/wear/widget/WearableRecyclerView)along a pre-defined vertical curve.  |
| [DismissibleFrameLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/DismissibleFrameLayout)                                         | Special FrameLayout that is dismissible by the Back button press, and by left to right swipe when the SwipeToDismiss is been enabled on the device config or themes.                                                                                                                                                                                                            |
| [DismissibleFrameLayout.Callback](https://developer.android.com/reference/kotlin/androidx/wear/widget/DismissibleFrameLayout.Callback)                       | Implement this callback to act on particular stage of the dismissal.                                                                                                                                                                                                                                                                                                            |
| [RoundedDrawable](https://developer.android.com/reference/kotlin/androidx/wear/widget/RoundedDrawable)                                                       | Maintains and draws a drawable inside rounded rectangular bounds.                                                                                                                                                                                                                                                                                                               |
| [SwipeDismissFrameLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/SwipeDismissFrameLayout)                                       | A layout enabling left-to-right swipe-to-dismiss, intended for use within an activity.                                                                                                                                                                                                                                                                                          |
| [SwipeDismissFrameLayout.Callback](https://developer.android.com/reference/kotlin/androidx/wear/widget/SwipeDismissFrameLayout.Callback)                     | Implement this callback to act on particular stages of the dismissal.                                                                                                                                                                                                                                                                                                           |
| [WearableLinearLayoutManager](https://developer.android.com/reference/kotlin/androidx/wear/widget/WearableLinearLayoutManager)                               | This wear-specific implementation of[LinearLayoutManager](https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/LinearLayoutManager)provides basic offsetting logic for updating child layout.                                                                                                                                                            |
| [WearableLinearLayoutManager.LayoutCallback](https://developer.android.com/reference/kotlin/androidx/wear/widget/WearableLinearLayoutManager.LayoutCallback) | Callback for interacting with layout passes.                                                                                                                                                                                                                                                                                                                                    |
| [WearableRecyclerView](https://developer.android.com/reference/kotlin/androidx/wear/widget/WearableRecyclerView)                                             | Wearable specific implementation of the[RecyclerView](https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView)enabling[setCircularScrollingGestureEnabled](https://developer.android.com/reference/kotlin/androidx/wear/widget/WearableRecyclerView#setCircularScrollingGestureEnabled(boolean))circular scrolling} and semi-circular layouts. |

## Annotations

|----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|
| [ConfirmationOverlay.OverlayType](https://developer.android.com/reference/kotlin/androidx/wear/widget/ConfirmationOverlay.OverlayType) | Types of animations to display in the overlay. |