android - Correct image drawable folder for Galaxy tab -


my android application not loading correct graphic images when running on galaxy tab 1.0. blurry , pixelated.

my guess is loading images mdpi folder, because device density 1.0, small tablet screen.

what should in case? don't want increase size of images in mdpi folder, because have tested application in fair quantity of emulators , devices , worked well, still want way of loading bigger images tablet.

the device model gt-p7510 , android version 3.1. density of device 1.0, got using code:

getresources().getdisplaymetrics().density 

i have different image sizes placed in folders:

  • drawable-hdpi
  • drawable-ldpi
  • drawable-mdpi
  • drawable-xhdpi

i developing in api level 8, platform 2.2.

thanks!

you should create

res/drawable-large-mdpi/ 

and put resources large screens there. instead of large may evaluate use other qualifiers, such drawable-sw600dp, see http://developer.android.com/guide/practices/screens_support.html , http://developer.android.com/guide/topics/resources/providing-resources.html#bestmatch


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -