I'm new to Android development (using Mono for Android), I read this , this this and another questions here, but I'm not sure how to provide all the necessary icon files for my application.
- In the template project, the IDE created for me a folder
drawable/with an Icon.png file of 48x48 pixels. - Since I need to provide alternative resources, I grabbed a PNG file that serves as the icon of my application, and used Android Asset Studio (mentioned in the docs), and it created the following files for me:
drawable-hdpi/ic_launcher.png (72x72 px)
drawable-mdpi/ic_launcher.png (48x48 px)
drawable-xhdpi/ic_launcher.png (96x96 px)
drawable-xxhdpi/ic_launcher.png (144x144 px)
(I don’t know why, but Android Asset Studio did not generate a version ldpi, so I resized 36x36.)
Now i'm lost
1. Should I keep a copy of 48x48 px in drawable-mdpi/and drawable/?
If I save the icon only in drawable-mdpi/, can the application crash on older Android devices / versions (since there is no default resource)? 1. If I save the icon only in drawable/(backup), what is the point of using it drawable-mdpi/at all?
Since I don’t know exactly what to do, I left my drawing projects as follows:
drawable/ic_launcher.png (48x48 px)
drawable-hdpi/ic_launcher.png (72x72 px)
drawable-ldpi/ic_launcher.png (36x36 px)
drawable-mdpi/ic_launcher.png (48x48 px)
drawable-xhdpi/ic_launcher.png (96x96 px)
drawable-xxhdpi/ic_launcher.png (144x144 px)
But it’s still not clear to me.
EDIT:
"" , (drawable/) , . , : , "" .