Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am testing my app on two devices, a htc desire and galaxy s3 mini, the htc desire selects the correct drawable folder (hdpi), however, the s3 mini also selects the same folder even though it should be selecting xhdpi.

I have correct images in each folder, they are laid out as follows:

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

but it keeps selecting the incorrect folder.

Does anyone have any ideas why this is happening? Ive looked through the docs (supporting multiple screen sizes, identifiers) etc but I can't find out why and the folders have the correct identifiers as far as I'm aware. So if anyone has an idea I'd appreciate it.

Regards,
Gary
Posted

1 solution

Possibly it might be a case of SDK level.See this post which will clear you something about it..
http://stackoverflow.com/questions/14462167/android-2-2-screen-resolutions-and-sizes-issue[^]
 
Share this answer
 
Comments
pasztorpisti 20-Aug-13 13:47pm    
+5, that is indeed one possible reason. A wrong SDK level can cause a lot of strange bugs.
ridoy 20-Aug-13 15:12pm    
Thanks pasztorpisti.
GaryDoo 20-Aug-13 16:09pm    
thank you for your reply ridoy. I'm just unsure as to what you mean? In my manifest my min SDK is 8 and target is 17.
Do you mind shedding some more light on this for me? I've followed the link but it doesn't seem to clarify things any further for me
ridoy 20-Aug-13 16:25pm    
you need to find out what sdk version is supported by your device and then proceed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900