| 1 |
<?xml version="1.0"?> |
| 2 |
<recipe> |
| 3 |
<merge from="root/res/values/attrs.xml.ftl" |
| 4 |
to="${escapeXmlAttribute(resOut)}/values/attrs_${view_class}.xml" /> |
| 5 |
<instantiate from="root/res/layout/sample.xml.ftl" |
| 6 |
to="${escapeXmlAttribute(resOut)}/layout/sample_${view_class}.xml" /> |
| 7 |
|
| 8 |
<instantiate from="root/src/app_package/CustomView.java.ftl" |
| 9 |
to="${escapeXmlAttribute(srcOut)}/${viewClass}.java" /> |
| 10 |
|
| 11 |
<open file="${escapeXmlAttribute(srcOut)}/${viewClass}.java" /> |
| 12 |
<open file="${escapeXmlAttribute(resOut)}/layout/sample_${view_class}.xml" /> |
| 13 |
</recipe> |