| 1 |
<?xml version="1.0"?> |
| 2 |
<recipe> |
| 3 |
<#include "../common/recipe_manifest.xml.ftl" /> |
| 4 |
|
| 5 |
<#if useFragment> |
| 6 |
<#include "recipe_fragment.xml.ftl" /> |
| 7 |
<#else> |
| 8 |
<#include "../common/recipe_simple.xml.ftl" /> |
| 9 |
</#if> |
| 10 |
|
| 11 |
<#if hasAppBar> |
| 12 |
<#include "../common/recipe_app_bar.xml.ftl" /> |
| 13 |
</#if> |
| 14 |
|
| 15 |
<instantiate from="root/src/app_package/SimpleActivity.java.ftl" |
| 16 |
to="${escapeXmlAttribute(srcOut)}/${activityClass}.java" /> |
| 17 |
|
| 18 |
<open file="${escapeXmlAttribute(srcOut)}/${activityClass}.java" /> |
| 19 |
<#if useFragment> |
| 20 |
<open file="${escapeXmlAttribute(resOut)}/layout/${fragmentLayoutName}.xml" /> |
| 21 |
<#else> |
| 22 |
<open file="${escapeXmlAttribute(resOut)}/layout/${simpleLayoutName}.xml" /> |
| 23 |
</#if> |
| 24 |
|
| 25 |
</recipe> |