diff options
author | Tor Norbye <tnorbye@google.com> | 2012-06-22 14:19:51 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-07-02 08:44:14 -0700 |
commit | e9db0a86e766f52a9cef38f7ad05a32185f0f953 (patch) | |
tree | 25c33551b9336e410ac46b694095df330c144c05 /templates/projects | |
parent | 2b78fa53ccd6b5422c66b33ff35db3a0330f2c38 (diff) | |
download | sdk-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-x | templates/projects/NewAndroidApplication/root/res/drawable-hdpi/ic_launcher.png | bin | 4996 -> 9397 bytes |
-rwxr-xr-x | templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png | bin | 3065 -> 5237 bytes |
-rwxr-xr-x | templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png | bin | 6679 -> 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 Binary files differindex 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 diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-mdpi/ic_launcher.png Binary files differindex 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 diff --git a/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png b/templates/projects/NewAndroidApplication/root/res/drawable-xhdpi/ic_launcher.png Binary files differindex 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 |