开发者

How to edit large screens in android

I am designing a screen using XML, and my screen is large in height, and can not displaying whole screen, so I am unable to set some properties to that controls wh开发者_运维问答ich does not display on design screen. Is there any way to show them in Graphical Layout(I have to set properties of those control from property window).


Just wrap your view inside a ScrollView:

<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- lets suppose your root element is a LinearLayout -->
    <LinearLayout>
        <!-- your content -->
    </LinearLayout>
</ScrollView>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜