If I have two resource directories:
res/drawable-large-mdpi
and res/drawable-xlarge-mdpi
then Kindle Fire emulator made by Amazon's specs will always use resources from the later directory.
The reason is known: emulator calculates Fire's screen as xlarge-mdpi
although in reality it is large-mdpi
.
How can I have both resource directories and force Fire to use resources from res/drawable-large-mdpi
, while letting other 10-inch tablets use resources from res/drawable-xlarge-mdpi
? I am trying to solve this for days with no success.
PS. I do not have a real device but I do testing for Kindle Fire via emulator created by Amazon's specifications.
How can I have both resource directories and force Fire to use resources from res/drawable-large-mdpi, while letting other 10-inch tablets use resources from res/drawable-xlarge-mdpi?
It already does this, so your work is done.
However, probably you will need to buy a Fire to test it. You cannot create a 2.3.x emulator image that faithfully reproduces the Fire in this respect.
You should be able to create a newer emulator (e.g., 3.2 or 4.0) that should work, though I have not tried this. They fixed the emulator calculations to handle this case better some time after 2.3.