• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2013 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18
19
20<sample>
21    <name>DelayedConfirmation</name>
22    <group>Wearable</group>
23    <package>com.example.android.wearable.delayedconfirmation</package>
24
25
26
27    <!-- change minSdk if needed-->
28    <minSdk>18</minSdk>
29
30
31    <strings>
32        <intro>
33            <![CDATA[
34            Demonstrates how to create a DelayedConfirmationView in your wearable app. In this
35            sample, pressing a button on the phone app sends a message to the wearable to start a simple
36            activity. This activity displays a DelayedConfirmationView that starts when the user presses "Start
37            Timer." Then, callbacks are implemented on both the wearable and phone to show when the timer is
38            selected or finishes. The activity on the wearable uses BoxInsetLayout to automatically apply
39            appropriate margins based on whether the display is square or circular.
40            ]]>
41        </intro>
42    </strings>
43
44    <template src="base"/>
45    <template src="Wear"/>
46
47</sample>
48