aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt/templates/CustomView/recipe.xml.ftl
blob: d152df0cbdeac374ffd3e25fae2ec23bca81291b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<recipe>
    <merge from="res/values/attrs.xml.ftl"
                   to="res/values/attrs_${view_class}.xml" />
    <instantiate from="res/layout/sample.xml.ftl"
                   to="res/layout/sample_${view_class}.xml" />

    <instantiate from="src/app_package/CustomView.java.ftl"
                   to="${srcOut}/${viewClass}.java" />

    <open file="${srcOut}/${viewClass}.java" />
    <open file="res/layout/sample_${view_class}.xml" />
</recipe>