Debian Codegraph @

templates/other/WatchFaceService/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="5"
4 revision="3"
5 name="Watch Face"
6 minApi="21"
7 minBuildApi="21"
8 description="Creates a watch face for Android Wear">
9
10 <category value="Wear" />
11 <formfactor value="Wear" />
12
13 <parameter
14 id="serviceClass"
15 name="Service Name"
16 type="string"
17 constraints="class|unique|nonempty"
18 default="MyWatchFace"
19 help="The name of the service class to create" />
20
21 <parameter
22 id="style"
23 name="Style"
24 type="enum"
25 default="analog"
26 help="Watch face style">
27 <option id="analog">Analog</option>
28 <option id="digital">Digital</option>
29 </parameter>
30
31 <parameter
32 id="isInteractive"
33 name="Interactive"
34 type="boolean"
35 default="true"
36 help="Whether or not to include code for interactive touch handling" />
37
38 <parameter
39 id="packageName"
40 name="Package name"
41 type="string"
42 constraints="package"
43 default="com.mycompany.myapp" />
44
45 <!-- 128x128 thumbnails relative to template.xml -->
46 <thumbs>
47 <!-- default thumbnail is required -->
48 <thumb>template_thumbnail.png</thumb>
49 <thumb style="analog">analog_round.png</thumb>
50 <thumb style="digital">digital_square.png</thumb>
51 </thumbs>
52
53 <globals file="globals.xml.ftl" />
54 <execute file="recipe.xml.ftl" />
55
56 </template>