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 README.android
-->
<application android:label="@string/app_name"
- android:icon="@drawable/icon"
+ android:icon="@drawable/ic_launcher"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<activity android:name="SDLActivity"
android:label="@string/app_name">
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