aboutsummaryrefslogtreecommitdiffstats
path: root/templates/activities/FullscreenActivity/recipe.xml.ftl
blob: b3e1f20914c316d75db352cf27c64387f7cb88e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0"?>
<recipe>
    <merge from="AndroidManifest.xml.ftl"
             to="${manifestOut}/AndroidManifest.xml" />

    <merge from="res/values/attrs.xml"
             to="${resOut}/values/attrs.xml" />
    <merge from="res/values/colors.xml"
             to="${resOut}/values/colors.xml" />
    <merge from="res/values/styles.xml"
              to="${resOut}/values/styles.xml" />
    <merge from="res/values-v11/styles.xml"
             to="${resOut}/values-v11/styles.xml" />
    <instantiate from="res/layout/activity_fullscreen.xml.ftl"
                   to="${resOut}/layout/${layoutName}.xml" />

    <merge from="res/values/strings.xml.ftl"
             to="${resOut}/values/strings.xml" />

    <instantiate from="src/app_package/FullscreenActivity.java.ftl"
                   to="${srcOut}/${activityClass}.java" />
    <instantiate from="src/app_package/util/SystemUiHider.java.ftl"
                   to="${srcOut}/util/SystemUiHider.java" />
    <instantiate from="src/app_package/util/SystemUiHiderBase.java.ftl"
                   to="${srcOut}/util/SystemUiHiderBase.java" />
    <instantiate from="src/app_package/util/SystemUiHiderHoneycomb.java.ftl"
                   to="${srcOut}/util/SystemUiHiderHoneycomb.java" />

    <open file="${resOut}/layout/${layoutName}.xml" />
</recipe>