简体   繁体   中英

Layout and Drawables for Nexus S and Galaxy Nexus

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 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM