I would like to have a TextView on top where if it was more then 5 lines of text, it would scroll. Then a list of text on the bottom that simply files the remain space.
I'm using the ScrollView with a TextView inside. The problem is if I set the top scroll to warp content, it will keep getting bigger if there is more then 5 lines of text. If I set it to fill parent, the button text view will not get displayed. Is there a way to do this?
<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>