How to create different layout for Galaxy S3 and Nexus 7?

前端 未结 4 747
长情又很酷
长情又很酷 2021-02-03 15:17

I have created an android application which works properly for nexus 7. Inside resources folder, I have created two folders, layout, layout-land for Ne

4条回答
  •  醉梦人生
    2021-02-03 16:07

    I have developed an application where i support multiple devices with different resolution and densities. with nexus 7 and galaxy s3 also one among them. galaxy s3 and nexus7 will obviously take from the large screen folder if u have layout-large folder in your project. But galaxy s3 falls under large hdpi category and nexus7 falls under large-tvdpi category. so it will be of great use if you have layout-large-hdpi and layout-large-tvdpi for s3 and nexus7 respectively.

提交回复
热议问题