jogrogan / eventU

1 stars 0 forks source link

Images defined in density-independent drawable folder #4

Open jogrogan opened 6 years ago

jogrogan commented 6 years ago

Each image should have several images of different resolutions. May cause issues on different device sizes.

pmg41 commented 1 year ago

The res/drawable folder is intended for density-independent graphics such as shapes defined in XML.

For bitmaps, move it to drawable-mdpi and consider providing higher and lower resolution versions in drawable-ldpi, drawable-hdpi and drawable-xhdpi.

If the icon really is density independent (for example a solid color) you can place it in drawable-nodpi.

Please refer below link first if you have still any doubt:

  1. https://developer.android.com/guide/practices/screens_support
  2. https://stackoverflow.com/questions/14815314/support-all-screen-sizes-and-android-versions