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