In my android app development I have images with sizes 482x283 , 36x36, 48x48, 288x177 and 480x760 in "drawable-hdpi" folder what must be the sizes of these images for "drawable-mdpi", "drawable-xhdpi" , "drawable-xxhdpi" and "drawable-xxxhdpi" folders
Asked
Active
Viewed 3,572 times
2
-
go through this https://stackoverflow.com/questions/2025282/difference-between-px-dp-dip-and-sp-on-android – sushildlh Jul 07 '16 at 07:52
1 Answers
3
hdpi = 1.5 * mdpi
xhdpi = 2 * mdpi
xxhdpi = 3 * mdpi
xxxhdpi = 4 * mdpi
Check Documentation for supporting different screen sizes

thealeksandr
- 1,686
- 12
- 17
-
SO Mdpi: 321x189 hdpi:482x28 XHDpi: 642x 378 Xxhdpi: 963x 567 Xxxhdpi: 1284x 756 Is it correct ?? – BASIL VARGHESE Jul 09 '16 at 03:47
-
mdpi: 321x189 hdpi:482x28 XHDpi: 642x 378 Xxhdpi: 963x 567 Xxxhdpi: 1284x 756 Is it ok? – BASIL VARGHESE Jul 12 '16 at 08:40
-
only 428x284. But yeah it's correct. But maybe it's better to use sizes that always will be a whole number, like 322 inserted of 321 and. 321 * 1.5 = 481.5. It's not a problem. Just think it's better – thealeksandr Jul 12 '16 at 10:29