| 1 |
<?xml version="1.0"?> |
| 2 |
<recipe> |
| 3 |
|
| 4 |
<#if useSupport><dependency mavenUrl="com.android.support:support-v4:${buildApi}.+"/></#if> |
| 5 |
<merge from="root/res/values/strings.xml" to="${escapeXmlAttribute(resOut)}/values/strings.xml" /> |
| 6 |
|
| 7 |
<#if includeLayout> |
| 8 |
<instantiate from="root/res/layout/fragment_blank.xml.ftl" |
| 9 |
to="${escapeXmlAttribute(resOut)}/layout/${escapeXmlAttribute(fragmentName)}.xml" /> |
| 10 |
|
| 11 |
<open file="${escapeXmlAttribute(resOut)}/layout/${escapeXmlAttribute(fragmentName)}.xml" /> |
| 12 |
</#if> |
| 13 |
|
| 14 |
<open file="${escapeXmlAttribute(srcOut)}/${className}.java" /> |
| 15 |
|
| 16 |
<instantiate from="root/src/app_package/BlankFragment.java.ftl" |
| 17 |
to="${escapeXmlAttribute(srcOut)}/${className}.java" /> |
| 18 |
|
| 19 |
</recipe> |