| 1 |
<?xml version="1.0"?> |
| 2 |
<recipe> |
| 3 |
|
| 4 |
<#if useSupport><dependency mavenUrl="com.android.support:support-v4:19.+"/></#if> |
| 5 |
<#if switchGrid == true> |
| 6 |
<merge from="root/res/values/refs.xml.ftl" |
| 7 |
to="${escapeXmlAttribute(resOut)}/values/refs.xml" /> |
| 8 |
<merge from="root/res/values/refs_lrg.xml.ftl" |
| 9 |
to="${escapeXmlAttribute(resOut)}/values-large/refs.xml" /> |
| 10 |
<merge from="root/res/values/refs_lrg.xml.ftl" |
| 11 |
to="${escapeXmlAttribute(resOut)}/values-sw600dp/refs.xml" /> |
| 12 |
|
| 13 |
<instantiate from="root/res/layout/fragment_grid.xml" |
| 14 |
to="${escapeXmlAttribute(resOut)}/layout/${fragment_layout}_grid.xml" /> |
| 15 |
|
| 16 |
<instantiate from="root/res/layout/fragment_list.xml" |
| 17 |
to="${escapeXmlAttribute(resOut)}/layout/${fragment_layout}_list.xml" /> |
| 18 |
</#if> |
| 19 |
|
| 20 |
<instantiate from="root/src/app_package/ListFragment.java.ftl" |
| 21 |
to="${escapeXmlAttribute(srcOut)}/${className}.java" /> |
| 22 |
|
| 23 |
<instantiate from="root/src/app_package/dummy/DummyContent.java.ftl" |
| 24 |
to="${escapeXmlAttribute(srcOut)}/dummy/DummyContent.java" /> |
| 25 |
|
| 26 |
<open file="${escapeXmlAttribute(srcOut)}/${className}.java" /> |
| 27 |
|
| 28 |
</recipe> |