5行以上のテキストの場合はスクロールする TextView を一番上に置きたいと思います。次に、残りのスペースを単純にファイルする下部のテキストのリスト。
TextView を内部に持つ ScrollView を使用しています。問題は、トップ スクロールをワープ コンテンツに設定すると、テキストが 5 行を超えると大きくなり続けることです。親を埋めるように設定すると、ボタンのテキスト ビューが表示されません。これを行う方法はありますか?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tell a Furtune Chat"
android:textSize="38px" />
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tell a Furtune \n ted \n teda \n rob \n fred \n bed \n jack \n junk \n more"
android:textSize="38px" />
</ScrollView>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tell a Furtune \n ted \n teda \n rob \n fred \n bed \n jack \n junk \n more"
android:textSize="38px" />
</ScrollView>
</LinearLayout>