mdpi image is too small for 10" android tablet

efeyc picture efeyc · Mar 29, 2012 · Viewed 9k times · Source

I have drawables for each density as ldpi,mdpi,hdpi and xhdpi.

Problem: Both 10" tablet device (1280x800) and a handset device 320x480 uses medium density. I have an 35x35 mdpi image. But this image is too small for tablet whereas it is ok for handset.

I read relevant documents. But I guess I couldn't understand sth significant. Is there anyway for tablet use xhdpi images or I wonder how to use bigger images for mdpi tablet.

Answer

WarrenFaith picture WarrenFaith · Mar 29, 2012

You should add a second identifier large and/or xlarge to your drawable folders. Increase the size in drawable-xlarge-mdpi until you are happy with the result while the drawable-mdpi will be the same size as before.

This increases the app size, but it will fix your issue.