没有滚动效果
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
加上滚动效果
<ScrollView
android:layout_width="fill_parent"
android:layout_height="200px" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</ScrollView>
ScrollView的滚动条为隐藏的方法
(1),一种是在XML的ScrollView布局中加入属性android:scrollbars="none"
(2),另一种则是在代码中获取ScrollView后进行scroll.setVerticalScrollBarEnabled(false);