这个控件的特点就是里面只可以有一个控件,一般我们都是这样来做,外面放一个滚动条控件,里面放一个垂直的线性布局垂直摆放,然后在线性布局里添加控件
http://schemas.android.com/apk/res/android" xmlns:tools="" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="none"> //把滚动条关闭
android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" >
水平滚控件和垂直一样
如果想让两个嵌套也可以