Home | History | Annotate | Download | only in CustomView
      1 <?xml version="1.0"?>
      2 <template
      3     format="1"
      4     revision="1"
      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 Components" />
      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>
     29