Exit full-screen activities on Wear

A user can exit a Wear OS activity by swiping from left to right.
If the app has horizontal scrolling (e.g.,
the type of scrolling available in an app containing maps),
a user exits by navigating to the edge
of the content and then swiping from left to right.

Horizontal scrollable views

In some cases, such as in a view containing a map that supports panning,
the user interface would not prevent horizontal swiping. In this
scenario, there are two choices:

If the back stack is short, the user can dismiss the app and return
to the home screen (watch face) by pressing the power button.

If you want the user to go down the back stack, you can wrap the view
in a SwipeDismissFrameLayout object, which supports edge
swipe. Edge swipe is enabled when the view or its children returns
true from a
canScrollHorizontally() call. Edge swipe enables the user to
dismiss the view by swiping from the leftmost side of the screen
(currently set to 10% of the screen width) and not just anywhere in the
view.

To wrap a view in a SwipeDismissFrameLayout object, review
the following examples:

Generally not recommended: Disabling swipe-to-dismiss

Disabling swipe-to-dismiss generally is not recommended because the user
expects to dismiss any screen with a swipe. In an exceptional case,
you can extend the default theme
(in a
style resource)
and set the android:windowSwipeToDismiss attribute
to false: