aboutsummaryrefslogtreecommitdiffstats
path: root/templates/projects
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-06-22 14:19:51 -0700
committerTor Norbye <tnorbye@google.com>2012-07-02 08:44:14 -0700
commite9db0a86e766f52a9cef38f7ad05a32185f0f953 (patch)
tree25c33551b9336e410ac46b694095df330c144c05 /templates/projects
parent2b78fa53ccd6b5422c66b33ff35db3a0330f2c38 (diff)
downloadsdk-e9db0a86e766f52a9cef38f7ad05a32185f0f953.zip
sdk-e9db0a86e766f52a9cef38f7ad05a32185f0f953.tar.gz
sdk-e9db0a86e766f52a9cef38f7ad05a32185f0f953.tar.bz2
Project template tweaks
Fix code which derives a project name from an application name such that it skips invalid project name characters. For example, the application name can be "I/O", but the project name should default to just "IO". Second, fix the validator code such that when it is validating a template parameter constraint of "class", it validates it as a class name, not a package name (so you cannot enter dots for example). Third, replace the default project template icons with the standard app icons (for when you disable Create Custom Launcher Icons). Fourth, tweak the templates such that you don't have unused imports when you create an activity without navigation, and remove unused padding dimension resources. Change-Id: I524608bb6347b4275338ec935e8de56bf3184c23
Diffstat (limited to 'templates/projects')
-rwxr-xr-xtemplates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.pngbin4996 -> 9397 bytes
-rwxr-xr-xtemplates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.pngbin3065 -> 5237 bytes
-rwxr-xr-xtemplates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.pngbin6679 -> 14383 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png
index fba1ff0..96a442e 100755
--- a/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png
+++ b/templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png
index 72a445d..359047d 100755
--- a/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png
+++ b/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png
index 002e7b0..71c6d76 100755
--- a/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png
+++ b/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png
Binary files differ