<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/tv"
/>
</ScrollView>
实现我们内容的滚动 就是使用scrollview 它默认的是垂直方向的滚动
如果我们需要实现水平方向的滚动 这个时候我们就需要借助HorizontalScrollView实现我们的水平方向上的滚动。
注意 我们在这个地方就是实现我们的一部分区域的文字可以滚动显示。