diff options
Diffstat (limited to 'templates/other/Notification/recipe.xml.ftl')
-rw-r--r-- | templates/other/Notification/recipe.xml.ftl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/other/Notification/recipe.xml.ftl b/templates/other/Notification/recipe.xml.ftl new file mode 100644 index 0000000..bd1c265 --- /dev/null +++ b/templates/other/Notification/recipe.xml.ftl @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<recipe> + + <merge from="AndroidManifest.xml.ftl" /> + + <#if expandedStyle == "picture"> + <copy from="res/drawable-nodpi/example_picture_large.png" + to="res/drawable-nodpi/example_picture.png" /> + <#else> + <copy from="res/drawable-nodpi/example_picture_small.png" + to="res/drawable-nodpi/example_picture.png" /> + </#if> + + <#if moreActions> + <copy from="res/drawable-hdpi" /> + <copy from="res/drawable-mdpi" /> + <copy from="res/drawable-xhdpi" /> + </#if> + + <merge from="res/values/strings.xml.ftl" /> + + <instantiate from="src/app_package/NotificationHelper.java.ftl" + to="${srcOut}/${className}.java" /> + <open file="${srcOut}/${className}.java" /> +</recipe> |