Debian Codegraph @

templates/eclipse/activities/FullscreenActivity/template.xml

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