aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt/templates/MasterDetailFlow/recipe.xml.ftl
blob: a07635e0d5a6d1309a817ba00eac7dfe8a9d72ff (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
31
<?xml version="1.0"?>
<recipe>
    <merge from="AndroidManifest.xml.ftl" />

    <copy from="${android.templatesRes}/android-support-v4.jar.bin"
            to="libs/android-support-v4.jar" />

    <merge from="res/values-large/refs.xml.ftl" />
    <merge from="res/values-sw600dp/refs.xml.ftl" />
    <merge from="res/values/strings.xml.ftl" />

    <instantiate from="res/layout/activity_content_detail.xml.ftl"
                   to="res/layout/activity_${detail_name}.xml" />
    <instantiate from="res/layout/activity_content_list.xml.ftl"
                   to="res/layout/activity_${collection_name}.xml" />
    <instantiate from="res/layout/activity_content_twopane.xml.ftl"
                   to="res/layout/activity_${objectKind?lower_case}_twopane.xml" />
    <instantiate from="res/layout/fragment_content_detail.xml.ftl"
                   to="res/layout/fragment_${detail_name}.xml" />

    <instantiate from="src/app_package/ContentDetailActivity.java.ftl"
                   to="${srcOut}/${DetailName}Activity.java" />
    <instantiate from="src/app_package/ContentDetailFragment.java.ftl"
                   to="${srcOut}/${DetailName}Fragment.java" />
    <instantiate from="src/app_package/ContentListActivity.java.ftl"
                   to="${srcOut}/${CollectionName}Activity.java" />
    <instantiate from="src/app_package/ContentListFragment.java.ftl"
                   to="${srcOut}/${CollectionName}Fragment.java" />
    <instantiate from="src/app_package/dummy/DummyContent.java.ftl"
                   to="${srcOut}/dummy/DummyContent.java" />
</recipe>