aboutsummaryrefslogtreecommitdiffstats
path: root/templates/projects
diff options
context:
space:
mode:
authorRoman Nurik <romannurik@google.com>2012-07-19 13:26:09 -0700
committerRoman Nurik <romannurik@google.com>2012-07-19 13:26:09 -0700
commitbe0d79958f7cc22317b18b8dad1d6cb7f3179b28 (patch)
tree6020b5b7fa03265dd179ac03228c2012ed0a5cdc /templates/projects
parent86e08822a1e435ce333dfbc5a5fea02aa7cee136 (diff)
downloadsdk-be0d79958f7cc22317b18b8dad1d6cb7f3179b28.zip
sdk-be0d79958f7cc22317b18b8dad1d6cb7f3179b28.tar.gz
sdk-be0d79958f7cc22317b18b8dad1d6cb7f3179b28.tar.bz2
Activity templates cleanup.
This change cleans up the BlankActivity and MasterDetailFlow activity templates in the following ways: - Unused search icons are removed. - Many comments are added for a better explanation of what's going on. See http://code.google.com/p/android/issues/detail?id=34463 - Code and comments are in better alignment with Android code style and import order (per http://source.android.com/source/code-style.html) - Non-trivial BlankActivity templates now require API 11 instead of 14. More work TBD here. - Templates are more lint-friendly. - android:parentActivityName is added when building against API 16. Change-Id: Iba7b807c7567b161b0e50fb39306209172627c35
Diffstat (limited to 'templates/projects')
-rw-r--r--templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_action_search.pngbin3120 -> 0 bytes
-rw-r--r--templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_action_search.pngbin3030 -> 0 bytes
-rw-r--r--templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_action_search.pngbin3199 -> 0 bytes
-rw-r--r--templates/projects/NewAndroidApplication/template.xml4
4 files changed, 2 insertions, 2 deletions
diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_action_search.png b/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_action_search.png
deleted file mode 100644
index 67de12d..0000000
--- a/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_action_search.png
+++ /dev/null
Binary files differ
diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_action_search.png b/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_action_search.png
deleted file mode 100644
index 134d549..0000000
--- a/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_action_search.png
+++ /dev/null
Binary files differ
diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_action_search.png b/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_action_search.png
deleted file mode 100644
index d699c6b..0000000
--- a/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_action_search.png
+++ /dev/null
Binary files differ
diff --git a/templates/projects/NewAndroidApplication/template.xml b/templates/projects/NewAndroidApplication/template.xml
index c1266f2..184844f 100644
--- a/templates/projects/NewAndroidApplication/template.xml
+++ b/templates/projects/NewAndroidApplication/template.xml
@@ -49,14 +49,14 @@
name="Target API level"
type="string"
constraints="apilevel"
- default="15" />
+ default="16" />
<parameter
id="buildApi"
name="Build API level"
type="string"
constraints="apilevel"
- default="15" />
+ default="16" />
<parameter
id="copyIcons"