OSDN Git Service

Replace icon template with new style and multiple densities.
authorXavier Ducrohet <xav@android.com>
Thu, 1 Oct 2009 03:22:07 +0000 (20:22 -0700)
committerXavier Ducrohet <xav@android.com>
Thu, 1 Oct 2009 03:46:00 +0000 (20:46 -0700)
commit570d2d4dad1a0e362a005f6eb80b591e219c8217
treecafc1b2356c15dddbcff591d94f54d4e2e776392
parent96d2400bbec270a0b479c9b467d476599fe7a924
Replace icon template with new style and multiple densities.

The icon in the templates of ADT was medium density only.
I added new densities (high and low), as well as updated to
the new Eclair style. Also added a version for Ant project.

Updated ADT and sdklib to deal with creating new projects
with all 3 icons.

In case of Ant project, this is done only if the icons
are present in the target platforms.

For ADT, this is done only if the project target donut
or later. Older project still have only one icon located
in drawable/

Change-Id: I77069a1e4902ef395d490526aabc40a26e33d4ca
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/NewProjectWizard.java
eclipse/plugins/com.android.ide.eclipse.adt/templates/icon.png [deleted file]
eclipse/plugins/com.android.ide.eclipse.adt/templates/icon_hdpi.png [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.adt/templates/icon_ldpi.png [new file with mode: 0644]
eclipse/plugins/com.android.ide.eclipse.adt/templates/icon_mdpi.png [new file with mode: 0644]
scripts/AndroidManifest.template
scripts/icon_hdpi.png [new file with mode: 0644]
scripts/icon_ldpi.png [new file with mode: 0644]
scripts/icon_mdpi.png [new file with mode: 0644]
sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectCreator.java