CircularProgressLayout adds a circular countdown timer behind the view it contains,
typically used to automatically confirm an operation after a short delay has elapsed.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.wear.widget\n\nadded in [version 26.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.wear.widget\n===========================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CircularProgressLayout.OnTimerFinishedListener](/reference/android/support/wear/widget/CircularProgressLayout.OnTimerFinishedListener) | Interface to implement for listening to [onTimerFinished(CircularProgressLayout)](/reference/android/support/wear/widget/CircularProgressLayout.OnTimerFinishedListener#onTimerFinished(android.support.wear.widget.CircularProgressLayout)) event. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BoxInsetLayout](/reference/android/support/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 `boxedEdges` attribute. |\n| [BoxInsetLayout.LayoutParams](/reference/android/support/wear/widget/BoxInsetLayout.LayoutParams) | Per-child layout information for layouts that support margins, gravity and boxedEdges. |\n| [CircularProgressLayout](/reference/android/support/wear/widget/CircularProgressLayout) | [CircularProgressLayout](/reference/android/support/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. |\n| [CurvingLayoutCallback](/reference/android/support/wear/widget/CurvingLayoutCallback) | An implementation of the [WearableLinearLayoutManager.LayoutCallback](/reference/android/support/wear/widget/WearableLinearLayoutManager.LayoutCallback) aligning the children of the associated [WearableRecyclerView](/reference/android/support/wear/widget/WearableRecyclerView) along a pre-defined vertical curve. |\n| [RoundedDrawable](/reference/android/support/wear/widget/RoundedDrawable) | Maintains and draws a drawable inside rounded rectangular bounds. |\n| [SwipeDismissFrameLayout](/reference/android/support/wear/widget/SwipeDismissFrameLayout) | A layout enabling left-to-right swipe-to-dismiss, intended for use within an activity. |\n| [SwipeDismissFrameLayout.Callback](/reference/android/support/wear/widget/SwipeDismissFrameLayout.Callback) | Implement this callback to act on particular stages of the dismissal. |\n| [WearableLinearLayoutManager](/reference/android/support/wear/widget/WearableLinearLayoutManager) | This wear-specific implementation of [LinearLayoutManager](/reference/android/support/v7/widget/LinearLayoutManager) provides basic offsetting logic for updating child layout. |\n| [WearableLinearLayoutManager.LayoutCallback](/reference/android/support/wear/widget/WearableLinearLayoutManager.LayoutCallback) | Callback for interacting with layout passes. |\n| [WearableRecyclerView](/reference/android/support/wear/widget/WearableRecyclerView) | Wearable specific implementation of the [RecyclerView](/reference/android/support/v7/widget/RecyclerView) enabling [setCircularScrollingGestureEnabled(boolean)](/reference/android/support/wear/widget/WearableRecyclerView#setCircularScrollingGestureEnabled(boolean)) circular scrolling} and semi-circular layouts. |\n\n-\n\n Interfaces\n ----------\n\n - [CircularProgressLayout.OnTimerFinishedListener](/reference/android/support/wear/widget/CircularProgressLayout.OnTimerFinishedListener)\n-\n\n Classes\n -------\n\n - [BoxInsetLayout](/reference/android/support/wear/widget/BoxInsetLayout)\n - [BoxInsetLayout.LayoutParams](/reference/android/support/wear/widget/BoxInsetLayout.LayoutParams)\n - [CircularProgressLayout](/reference/android/support/wear/widget/CircularProgressLayout)\n - [CurvingLayoutCallback](/reference/android/support/wear/widget/CurvingLayoutCallback)\n - [RoundedDrawable](/reference/android/support/wear/widget/RoundedDrawable)\n - [SwipeDismissFrameLayout](/reference/android/support/wear/widget/SwipeDismissFrameLayout)\n - [SwipeDismissFrameLayout.Callback](/reference/android/support/wear/widget/SwipeDismissFrameLayout.Callback)\n - [WearableLinearLayoutManager](/reference/android/support/wear/widget/WearableLinearLayoutManager)\n - [WearableLinearLayoutManager.LayoutCallback](/reference/android/support/wear/widget/WearableLinearLayoutManager.LayoutCallback)\n - [WearableRecyclerView](/reference/android/support/wear/widget/WearableRecyclerView)"]]