Debian Codegraph @

templates/eclipse/activities/LoginActivity/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="4"
4 revision="5"
5 name="Login Activity"
6 description="Creates a new login activity, allowing users to optionally sign in with Google+ or enter an email address and password to log in to or register with your application."
7 minApi="8"
8 minBuildApi="14">
9
10 <dependency name="android-support-v4" revision="8" />
11
12 <category value="Activity" />
13 <formfactor value="Mobile" />
14
15 <parameter
16 id="activityClass"
17 name="Activity Name"
18 type="string"
19 constraints="class|unique|nonempty"
20 default="LoginActivity"
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_login"
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="Sign in"
38 help="The name of the activity." />
39
40 <parameter
41 id="parentActivityClass"
42 name="Hierarchical Parent"
43 type="string"
44 constraints="activity|exists|empty"
45 default=""
46 help="The hierarchical parent activity, used to provide a default implementation for the 'Up' button" />
47
48 <parameter
49 id="packageName"
50 name="Package name"
51 type="string"
52 constraints="package"
53 default="com.mycompany.myapp" />
54
55 <parameter
56 id="includeGooglePlus"
57 name="Include Google+ sign in"
58 type="boolean"
59 default="true" />
60
61 <thumbs>
62 <thumb>template_login_activity.png</thumb>
63 </thumbs>
64
65 <globals file="globals.xml.ftl" />
66 <execute file="recipe.xml.ftl" />
67
68 </template>