I have my layouts in
layout/main.xml
Now Nexus S is 4 inch and Galaxy nexus is 4.65 inch. Drawables are placed in
drawable-xhdpi
for galaxy nexus for Nexus S i am not sure where to put drawables.
I want different images based on the device so in xml where to place images that i can use in nexus S 4 inch device???
Nexus s is 233 ppi, so it will fit on hdpi
http://developer.android.com/guide/practices/screens_support.html#overview
Nexus S is hdpi device so put it in hdpi devices. And you need to re scale the images accordingly
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.