Morningstar88 / mykra-android

Promoting trash collection, mealsharing, local innovators and shops that donate clothes to the homeless.
GNU General Public License v3.0
0 stars 2 forks source link

Need PNG behind each country/city title... #31

Open Morningstar88 opened 6 years ago

Morningstar88 commented 6 years ago

Because of different Android screen sizes, may need 3 different sized PNGS.

width is fixed, height I can decide by myself.

height half o

hdpi: height 270px - width 540px. xhdpi: height 360px - width 720px xxhdpi: height 540px - width 1080px

There are 6 different dimensions, but 3 is enough for now.

Morningstar88 commented 6 years ago

Tutorials on PNG menu buttons

Android Menu Icon Tutorial

https://developer.android.com/guide/practices/ui_guidelines/icon_design_menu

From 2016

https://stackoverflow.com/questions/39138761/how-to-add-an-image-with-text-in-menu-options-in-android

From 2013

https://stackoverflow.com/questions/15763546/add-image-to-menu-item

Use PNG over JPG

https://stackoverflow.com/questions/12946875/why-should-i-use-png-and-not-jpg

Questions

Should the image be mipmap or drawable?

Mipmap Vs Drawable

https://stackoverflow.com/questions/28065267/mipmaps-vs-drawable-folders

Drawable Resources

https://developer.android.com/guide/topics/resources/drawable-resource