Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug 1779 - SDL's Android project template has old default icons…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
slouken committed Apr 2, 2013
1 parent ceef26a commit ffa8429
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-project/AndroidManifest.xml
Expand Up @@ -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">
Expand Down
Binary file added android-project/res/drawable-hdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed android-project/res/drawable-hdpi/icon.png
Binary file not shown.
Binary file removed android-project/res/drawable-ldpi/icon.png
Binary file not shown.
Binary file added android-project/res/drawable-mdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed android-project/res/drawable-mdpi/icon.png
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ffa8429

Please sign in to comment.