androidresourcesdrawabletablethdpi

How to manage drawables for phone and tablet, both hdpi?


I've tried to run my app on a Nexus-One-like emulator skin and a Galaxy-Tab-like. As far as I know, both devices are hdpi, but Nexus is considered large and Galaxy Tab is considered xlarge. I have two folders for my drawables: drawable-large-hdpi and drawable-xlarge-hdpi. However, Galaxy Tab takes resources from the drawable-large-hdpi folder. It does not make sense for me. Am I doing something wrong? How can I manage my resources to fit on both screens? Thanks.


Solution

  • Two things, you are probably wrong in saying Galaxy tab is xlarge, from my memory I had found it to be large screen, check this. Second, read up here to learn more about this. Trust me it can get really messy and hard to remember :)