Debian Codegraph @

templates/activities/GoogleMapsActivity/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="5"
4 revision="2"
5 name="Google Maps Activity"
6 description="Creates a new activity with a Google Map"
7 minApi="9"
8 minBuildApi="14">
9
10 <dependency name="android-support-v4" revision="8" />
11
12 <category value="Google" />
13 <formfactor value="Mobile" />
14
15 <parameter
16 id="activityClass"
17 name="Activity Name"
18 type="string"
19 constraints="class|unique|nonempty"
20 default="MapsActivity"
21 help="The name of the activity class to create" />
22
23 <parameter
24 id="layoutName"
25 name="Layout Name"
26 type="string"
27 constraints="layout|unique|nonempty"
28 suggest="${activityToLayout(activityClass)}"
29 default="activity_map"
30 help="The name of the layout to create for the activity" />
31
32 <parameter
33 id="activityTitle"
34 name="Title"
35 type="string"
36 constraints="nonempty"
37 default="Map"
38 help="The name of the activity." />
39
40 <parameter
41 id="isLauncher"
42 name="Launcher Activity"
43 type="boolean"
44 default="false"
45 help="If true, this activity will have a CATEGORY_LAUNCHER intent filter, making it visible in the launcher" />
46
47 <parameter
48 id="parentActivityClass"
49 name="Hierarchical Parent"
50 type="string"
51 constraints="activity|exists|empty"
52 default=""
53 help="The hierarchical parent activity, used to provide a default implementation for the 'Up' button" />
54
55 <parameter
56 id="packageName"
57 name="Package name"
58 type="string"
59 constraints="package"
60 default="com.mycompany.myapp" />
61
62 <thumbs>
63 <thumb>template_map_activity.png</thumb>
64 </thumbs>
65
66 <globals file="globals.xml.ftl" />
67 <execute file="recipe.xml.ftl" />
68
69 </template>