当活动处于横向模式时如何滚动活动
场景:我的textview有大约一千个单词和几个按钮,当活动处于横向模式时如何应用滚动
答案 0 :(得分:2)
使用TextView
围绕ScrollView
。
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:text="lots of text"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</ScrollView>