xref: /aosp_15_r20/development/samples/browseable/DelayedConfirmation/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="DelayedConfirmation"
3*90c8c64dSAndroid Build Coastguard Workersample.group=Wearable
4*90c8c64dSAndroid Build Coastguard Worker@jd:body
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker            Demonstrates how to create a DelayedConfirmationView in your wearable app. In this
9*90c8c64dSAndroid Build Coastguard Worker            sample, pressing a button on the phone app sends a message to the wearable to start a simple
10*90c8c64dSAndroid Build Coastguard Worker            activity. This activity displays a DelayedConfirmationView that starts when the user presses "Start
11*90c8c64dSAndroid Build Coastguard Worker            Timer." Then, callbacks are implemented on both the wearable and phone to show when the timer is
12*90c8c64dSAndroid Build Coastguard Worker            selected or finishes. The activity on the wearable uses BoxInsetLayout to automatically apply
13*90c8c64dSAndroid Build Coastguard Worker            appropriate margins based on whether the display is square or circular.
14*90c8c64dSAndroid Build Coastguard Worker
15*90c8c64dSAndroid Build Coastguard Worker        </p>
16