Pankaj Kumar
Pankaj Kumar

Reputation: 82948

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 which 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).

Upvotes: 0

Views: 106

Answers (1)

Cristian
Cristian

Reputation: 200080

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>

Upvotes: 1

Related Questions