Debian Codegraph @

templates/activities/LoginActivity/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="5"
4 revision="6"
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 requireAppTheme="true"
8 minApi="8"
9 minBuildApi="14">
10
11 <dependency name="android-support-v4" revision="8" />
12
13 <category value="Activity" />
14 <formfactor value="Mobile" />
15
16 <parameter
17 id="activityClass"
18 name="Activity Name"
19 type="string"
20 constraints="class|unique|nonempty"
21 default="LoginActivity"
22 help="The name of the activity class to create" />
23
24 <parameter
25 id="layoutName"
26 name="Layout Name"
27 type="string"
28 constraints="layout|unique|nonempty"
29 suggest="${activityToLayout(activityClass)}"
30 default="activity_login"
31 help="The name of the layout to create for the activity" />
32
33 <parameter
34 id="activityTitle"
35 name="Title"
36 type="string"
37 constraints="nonempty"
38 default="Sign in"
39 help="The name of the activity." />
40
41 <parameter
42 id="parentActivityClass"
43 name="Hierarchical Parent"
44 type="string"
45 constraints="activity|exists|empty"
46 default=""
47 help="The hierarchical parent activity, used to provide a default implementation for the 'Up' button" />
48
49 <parameter
50 id="packageName"
51 name="Package name"
52 type="string"
53 constraints="package"
54 default="com.mycompany.myapp" />
55
56 <thumbs>
57 <thumb>template_login_activity.png</thumb>
58 </thumbs>
59
60 <globals file="globals.xml.ftl" />
61 <execute file="recipe.xml.ftl" />
62
63 </template>