0

Hi I want to make app with a lot of pictures but if I put all images to all drawable folders my app has a big size, so one of you recommended me to put image to only xxhdp (android will resize it)

There is my problem: I have device with hdp:

scale = getApplicationContext().getResources().getDisplayMetrics().density;// scale is 1,5

so if I want to have images 75x75 in hdp I will put 150x150 to xxhdp but it works WRONG(resize it to 50x50). I have tried to put it to xhdp and it works good(but shouldn´t) so I don´t know where is problem. I use convert ratio:

ldpi | mdpi | hdpi | xhdpi | xxhdpi | xxxhdpi
0.75 | 1    | 1.5  | 2     | 3      | 4
user3934048
  • 39
  • 1
  • 9

0 Answers0