Android layout with sw600dp and sw720dp

前端 未结 1 1682
一向
一向 2021-02-03 14:59

I want to support 600dp screen in my android application. So i have made that layout using layout-sw600dp. But i cannot get the exact layout with the a

相关标签:
1条回答
  • 2021-02-03 15:51

    For tablets you can just create the layout and drawable with following qualifiers

    layout-sw600dp drawable-sw600dp

    which means tablet screen with minimum of 600dp and higher can use this layout and drawable.

    So for standard configuration qualifiers for screen size you can create following configuration:

    1)layout-sw480dp drawable-sw480dp
    
    2)layout-sw600dp drawable-sw600dp
    
    3)layout-sw720dp drawable-sw720dp
    

    Ref: this go for following Table 2. New configuration qualifiers for screen size (introduced in Android 3.2).

    0 讨论(0)
提交回复
热议问题