diff options
author | Tor Norbye <tnorbye@google.com> | 2012-06-21 18:20:13 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-06-21 18:20:13 -0700 |
commit | a85ff38b62bbeb35ace582729a0cf07088d3905a (patch) | |
tree | db1a865d1844684f39c349c808e7fc9f5d880381 /templates/other/ContentProvider/template.xml | |
parent | db2bdb124c713e8d56750e9c6406240023f2cc34 (diff) | |
download | sdk-a85ff38b62bbeb35ace582729a0cf07088d3905a.zip sdk-a85ff38b62bbeb35ace582729a0cf07088d3905a.tar.gz sdk-a85ff38b62bbeb35ace582729a0cf07088d3905a.tar.bz2 |
More template tweaks
Generalize the Add Activity wizard into an Add Android Object
wizard and move Custom View in there, such that it's no longer
a top level wizard. Also place service, content provider and
broadcast receivers there.
Fix indentation in simple activity template, and fix template
wizard such that it doesn't reset all the values when you
leave the page (to preview page or previous selector page)
and come back - unless the template has changed.
Change-Id: Idc1e7f76255d8f0010ccc09fbfc79915cc58690d
Diffstat (limited to 'templates/other/ContentProvider/template.xml')
-rw-r--r-- | templates/other/ContentProvider/template.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/other/ContentProvider/template.xml b/templates/other/ContentProvider/template.xml new file mode 100644 index 0000000..c6730d8 --- /dev/null +++ b/templates/other/ContentProvider/template.xml @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<template + format="1" + revision="1" + name="New Content Provider" + description="Creates a new content provider class"> + + <parameter + id="className" + name="Class Name" + type="string" + constraints="class|unique" + default="MyContentProvider" /> + + <parameter + id="authorities" + name="URI Authorities" + type="string" + constraints="nonempty" + default="" + help="A list of one or more URI authorities that identify data under the purview of the content provider. " /> + + <parameter + id="isExported" + name="Exported" + type="boolean" + default="true" + help="Whether or not the content provider can be used by components of other applications " /> + + <parameter + id="isEnabled" + name="Enabled" + type="boolean" + default="true" + help="Whether or not the content provider can be instantiated by the system " /> + + <globals file="globals.xml.ftl" /> + <execute file="recipe.xml.ftl" /> + +</template> |