[英]Layout Design for Galaxy tab
I am new in Andoid I want to design layout for Galaxy tab along with other layout. 我是Andoid的新手,我想设计Galaxy标签的布局以及其他布局。 I design four layout Layout-small,large,xlarge and layout for normal. 我设计了四个布局Layout -small,large,xlarge和常规布局。 But When I am trying to check this in Galaxy tab the layout is stretched. 但是,当我尝试在“ Galaxy”选项卡中对此进行检查时,布局会被拉伸。 So how i develop the layout that run in Galaxy tab also. 因此,我如何开发在Galaxy选项卡中运行的布局。
res/layout/my_layout.xml // layout for normal screen size ("default")
res/layout-small/my_layout.xml // layout for small screen size
res/layout-large/my_layout.xml // layout for large screen size
res/layout-xlarge/my_layout.xml // layout for extra large screen size
res/layout-xlarge-land/my_layout.xml // layout for extra large in landscape orientation
Low density Small screens QVGA 240x320
res/layout-small-ldpi
res/layout-small-land-ldpi
Low density Normal screens WVGA400 240x400 (x432)
res/layout-ldpi
res/layout-land-ldpi
Medium density Normal screens HVGA 320x480
res/layout-mdpi
res/layout-land-mdpi
Medium density Large screens HVGA 320x480
res/layout-large-mdpi
res/layout-large-land-mdpi
High density Normal screens WVGA800 480x800 (x854)
res/layout-hdpi
res/layout-land-hdpi
Xoom (medium density large but 1280x800 res)
res/layout-xlarge
res/layout-xlarge-land
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.