android program interface much too long and too wide to roll?
July 5, 2011
Answer: you can use ScrollView.
For example:
android: layout_height = “fill_parent”
android: scrollbars = “vertical”
android: fadingEdge = “vertical”
>
android: layout_height = “wrap_content” android: padding = “10dip”
android: scrollbars = “vertical”
> LinearLayout>
ScrollView>
Note: ScrollView layout is a layout, you can make it no less than the contents of the data shows a scroll bar appears when. But can not place multiple components in ScrollView, Scrollview can wrap a child element. You can place a LinearLayout Scrollview other layout to place more components.
