Fixed bug 1779 - SDL's Android project template has old default icons from Android.
authorSam Lantinga <>
Tue, 02 Apr 2013 07:55:25 -0700
changeset 7044 30b7b0f09c51
parent 7043 fb7b426ab660
child 7045 4be2c24b7de1
Fixed bug 1779 - SDL's Android project template has old default icons from Android. Philipp Wiesemann SDL's Android project template has old default icons from Android while iOS project template has custom icons with SDL's logo. There is a Wizard in the Android Developer Tools to create "Android Icon Sets". As an example I created icons from the iOS loading screen and attached them in a ZIP archive. They are named "ic_launcher.png" instead of "icon.png" because that is the new name used in Android projects. To use them the AndroidManifest.xml needs to be changed to have "@drawable/ic_launcher" instead of "@drawable/icon". I do not know why there was no icon created for ldpi. Maybe it is deprecated.
--- a/android-project/AndroidManifest.xml	Tue Apr 02 07:51:23 2013 -0700
+++ b/android-project/AndroidManifest.xml	Tue Apr 02 07:55:25 2013 -0700
@@ -18,7 +18,7 @@
          An example Java class can be found in
     <application android:label="@string/app_name"
-                 android:icon="@drawable/icon"
+                 android:icon="@drawable/ic_launcher"
         <activity android:name="SDLActivity"
Binary file android-project/res/drawable-hdpi/ic_launcher.png has changed
Binary file android-project/res/drawable-hdpi/icon.png has changed
Binary file android-project/res/drawable-ldpi/icon.png has changed
Binary file android-project/res/drawable-mdpi/ic_launcher.png has changed
Binary file android-project/res/drawable-mdpi/icon.png has changed
Binary file android-project/res/drawable-xhdpi/ic_launcher.png has changed
Binary file android-project/res/drawable-xxhdpi/ic_launcher.png has changed