本文出自 “IT徐胖子的專欄” 博客,請務必保留此出處http://woshixy.blog.51cto.com/5637578/1086755
給TextView加上滾動條非常簡單,只需要把TextView標籤放在ScrollView標籤中
<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>
本文出自 “IT徐胖子的專欄” 博客,請務必保留此出處http://woshixy.blog.51cto.com/5637578/1086755