Debian Codegraph @

templates/other/CustomView/template.xml

raw
1 <?xml version="1.0"?>
2 <template
3 format="5"
4 revision="3"
5 name="Custom View"
6 description="Creates a new custom view that extends android.view.View and exposes custom attributes.">
7
8 <category value="UI Component" />
9
10 <parameter
11 id="packageName"
12 name="Package name"
13 type="string"
14 constraints="package"
15 default="com.mycompany.myapp" />
16
17 <parameter
18 id="viewClass"
19 name="View Class"
20 type="string"
21 constraints="class|unique|nonempty"
22 default="MyView"
23 help="By convention, should end in 'View'" />
24
25 <globals file="globals.xml.ftl" />
26 <execute file="recipe.xml.ftl" />
27
28 </template>