commit | 619e69ed8a053092c15937656cf11ad3e4b1ed01 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Tue Nov 23 09:58:50 2010 -0800 |
committer | Kenny Root <kroot@google.com> | Tue Nov 23 10:02:19 2010 -0800 |
tree | f62f181b7b8384dd98e2ae810f8b0b54e315914d | |
parent | 24ba0688a6821728d2524fd84581df92e59d24ee [diff] |
Move Spare Parts icon to mipmap So that the different icon densities don't get stripped out of the build by aapt, move it to the mipmap directory. This will ensure that any program using the getDrawableByDensity API can read any density/size of the icon needed. Change-Id: I48c27f7a8b115365c5827ddaa9e8710f3b81358e
diff --git a/apps/SpareParts/AndroidManifest.xml b/apps/SpareParts/AndroidManifest.xml index 85de7a4..137f907 100644 --- a/apps/SpareParts/AndroidManifest.xml +++ b/apps/SpareParts/AndroidManifest.xml
@@ -21,7 +21,7 @@ <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <application android:label="@string/app_label" - android:icon="@drawable/app_icon"> + android:icon="@mipmap/app_icon"> <activity android:name="SpareParts"> <intent-filter>
diff --git a/apps/SpareParts/res/drawable-hdpi/app_icon.png b/apps/SpareParts/res/mipmap-hdpi/app_icon.png similarity index 100% rename from apps/SpareParts/res/drawable-hdpi/app_icon.png rename to apps/SpareParts/res/mipmap-hdpi/app_icon.png Binary files differ
diff --git a/apps/SpareParts/res/drawable-mdpi/app_icon.png b/apps/SpareParts/res/mipmap-mdpi/app_icon.png similarity index 100% rename from apps/SpareParts/res/drawable-mdpi/app_icon.png rename to apps/SpareParts/res/mipmap-mdpi/app_icon.png Binary files differ