导读:给TextView加上滚动条非常简单,只需要把TextView标签放在ScrollView标签中[html]<ScrollView android:layout_width="wrap...
给TextView加上滚动条非常简单,只需要把TextView标签放在ScrollView标签中
[html]
<ScrollViewandroid:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/txtViewHtml" />
</ScrollView>