How to declare the layout for 7'inch tablet Android?

后端 未结 5 1729
说谎
说谎 2020-12-04 20:10

I am developing application on both 10\'inch&7\'inch tablets, here is my problem for 10\'inch tablet i have declared layout as(layout-xlarge-land & layout-xlarge-por

5条回答
  •  粉色の甜心
    2020-12-04 20:33

    you can also specify your layout folder like this

    1. layout-1280x800
    2. layout-port-1280x800

    As per new approach discussed here, New Tools For Managing Screen Sizes
    we can specify like this

    1. layout For phones
    2. layout-sw600dp # For 7” tablets
    3. layout-sw720dp # For 10” tablets

提交回复
热议问题