tags:

views:

34

answers:

1

Hey guys, im pretty new to android platform and have a really simple question. Im putting buttons as layouts with text boxes, but im running out of room. How would i make it possible for the user to scroll down to view more buttons and stuff. For example, if i have 6 buttons, and 3 are in the field of view, i wanna be able to scroll with my finger and be able to see those buttons as I scroll.

Thanks for the help guys

-Localgamer

A: 

You can put your controls(widgets: buttons, labels etc) inside a ScrollView. Check the documentation of the class for details : http://developer.android.com/reference/android/widget/ScrollView.html

Something like:

<ScrollView ..>
   <TextView .../>
   <Button .../>
</ScrollView>
Samuh