4 <#if appCompat
><dependency mavenUrl=
"com.android.support:appcompat-v7:19.+"/></#if
>
5 <#if !appCompat
><dependency mavenUrl=
"com.android.support:support-v4:19.+"/></#if
>
7 <merge from=
"AndroidManifest.xml.ftl"
8 to=
"${escapeXmlAttribute(manifestOut)}/AndroidManifest.xml" />
10 <instantiate from=
"res/menu/main.xml.ftl"
11 to=
"${escapeXmlAttribute(resOut)}/menu/${menuName}.xml" />
13 <merge from=
"res/values/strings.xml.ftl"
14 to=
"${escapeXmlAttribute(resOut)}/values/strings.xml" />
16 <merge from=
"res/values/dimens.xml.ftl"
17 to=
"${escapeXmlAttribute(resOut)}/values/dimens.xml" />
18 <merge from=
"res/values-w820dp/dimens.xml"
19 to=
"${escapeXmlAttribute(resOut)}/values-w820dp/dimens.xml" />
21 <!-- TODO: switch on Holo Dark v. Holo Light -->
22 <copy from=
"res/drawable-hdpi"
23 to=
"${escapeXmlAttribute(resOut)}/drawable-hdpi" />
24 <copy from=
"res/drawable-mdpi"
25 to=
"${escapeXmlAttribute(resOut)}/drawable-mdpi" />
26 <copy from=
"res/drawable-xhdpi"
27 to=
"${escapeXmlAttribute(resOut)}/drawable-xhdpi" />
28 <copy from=
"res/drawable-xxhdpi"
29 to=
"${escapeXmlAttribute(resOut)}/drawable-xxhdpi" />
31 <instantiate from=
"res/menu/global.xml.ftl"
32 to=
"${escapeXmlAttribute(resOut)}/menu/global.xml" />
34 <instantiate from=
"res/layout/activity_drawer.xml.ftl"
35 to=
"${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
36 <instantiate from=
"res/layout/fragment_navigation_drawer.xml.ftl"
37 to=
"${escapeXmlAttribute(resOut)}/layout/${navigationDrawerLayout}.xml" />
39 <instantiate from=
"res/layout/fragment_simple.xml.ftl"
40 to=
"${escapeXmlAttribute(resOut)}/layout/${fragmentLayoutName}.xml" />
42 <instantiate from=
"src/app_package/DrawerActivity.java.ftl"
43 to=
"${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
44 <instantiate from=
"src/app_package/NavigationDrawerFragment.java.ftl"
45 to=
"${escapeXmlAttribute(srcOut)}/NavigationDrawerFragment.java" />
47 <open file=
"${escapeXmlAttribute(srcOut)}/${activityClass}.java" />
48 <open file=
"${escapeXmlAttribute(resOut)}/layout/${fragmentLayoutName}.xml" />