• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2014 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>WatchFace</name>
22    <group>Wearable</group>
23    <package>com.example.android.wearable.watchface</package>
24
25    <minSdk>18</minSdk>
26    <targetSdkVersion>28</targetSdkVersion>
27
28    <minSdkVersionWear>24</minSdkVersionWear>
29    <compileSdkVersionWear>28</compileSdkVersionWear>
30    <targetSdkVersionWear>28</targetSdkVersionWear>
31
32    <multiDexEnabled>true</multiDexEnabled>
33
34    <androidX>true</androidX>
35
36    <dependency>androidx.legacy:legacy-support-v4:1.0.0</dependency>
37    <dependency>androidx.legacy:legacy-support-v13:1.0.0</dependency>
38    <dependency>androidx.cardview:cardview:1.0.0</dependency>
39    <dependency>androidx.appcompat:appcompat:1.0.2</dependency>
40    <dependency>com.google.android.support:wearable:2.4.0</dependency>
41
42    <dependency_wearable>androidx.palette:palette:1.0.0</dependency_wearable>
43    <dependency_wearable>androidx.wear:wear:1.0.0</dependency_wearable>
44    <dependency_wearable>androidx.legacy:legacy-support-v13:1.0.0</dependency_wearable>
45
46    <wearable>
47        <has_handheld_app>true</has_handheld_app>
48    </wearable>
49
50    <strings>
51        <intro>
52<![CDATA[
53This sample demonstrates how to create watch faces for Wear and use complications
54with your Wear 2.0 watch faces.
55]]>
56        </intro>
57    </strings>
58
59    <template src="base"/>
60    <template src="Wear"/>
61
62    <metadata>
63        <status>DEPRECATED</status>
64        <categories>Wearable</categories>
65        <technologies>Android</technologies>
66        <languages>Java</languages>
67        <solutions>Mobile</solutions>
68        <level>INTERMEDIATE</level>
69        <icon>screenshots/icon-web.png</icon>
70        <screenshots>
71            <img>screenshots/analog-face.png</img>
72            <img>screenshots/analog-watch-side-config-all.png</img>
73            <img>screenshots/analog-watch-side-config-1.png</img>
74            <img>screenshots/analog-watch-side-config-2.png</img>
75            <img>screenshots/digital-face.png</img>
76            <img>screenshots/digital-phone-side-config.png</img>
77            <img>screenshots/digital-watch-side-config.png</img>
78            <img>screenshots/interactive-face.png</img>
79            <img>screenshots/tilt-face.png</img>
80        </screenshots>
81        <api_refs>
82            <android>android.support.wearable.complications.ComplicationData</android>
83            <android>android.support.wearable.complications.ComplicationHelperActivity</android>
84            <android>android.support.wearable.complications.ComplicationProviderInfo</android>
85            <android>android.support.wearable.complications.ComplicationText</android>
86            <android>android.support.wearable.complications.ProviderChooserIntent</android>
87            <android>android.support.wearable.view.WearableRecyclerView</android>
88            <android>android.support.wearable.watchface.CanvasWatchFaceService</android>
89            <android>android.support.wearable.watchface.WatchFaceService</android>
90            <android>android.support.wearable.watchface.WatchFaceStyle</android>
91        </api_refs>
92
93        <!-- 1-3 line description of the sample here.
94
95            Avoid simply rearranging the sample's title. What does this sample actually
96            accomplish, and how does it do it? -->
97        <description>
98            <![CDATA[
99Sample moved to [github.com/android/wear-os][1].
100
101[1]: https://github.com/android/wear-os
102]]>
103        </description>
104
105        <intro>
106            <![CDATA[
107This repo and all Wear OS samples have been moved to [github.com/android/wear-os][1]. Please check out the code there. Thank you!
108
109[1]: https://github.com/android/wear-os
110]]>
111        </intro>
112    </metadata>
113
114</sample>
115