Thanks. I'll give your suggestion a try although I was able to get it to work by placing the top and bottom (ScrollView) areas inside of a table.
On Sep 26, 6:18 am, Paweł Zięba <[email protected]> wrote: > In ScrollView add: > android:layout_alignParentBottom="true" > android:layout_below="@id/send_ok_button" > > Remove LinearLayout, only one view in another is not good choice, > > in RelativeLayout add: > android:layout_width="fill_parent" > android:layout_height="fill_parent" > > On 25 Wrz, 21:42, Darrin Smith <[email protected]> wrote: > > > All I want to do is get the scroll view which contains a table to display > > below the text box. Right now, it displays over top of it. If I move the > > ScrollView below the RelativeLayout, then it doesn't show up at all! What > > do I need to do? I am really starting to think this whole layout idea is a > > bad one. Maybe I should just do it in code. > > > Here is my layout. > > > Thanks! > > > <?xml version="1.0" encoding="utf-8"?> > > <LinearLayout android:id="@+id/LinearLayout01" > > android:layout_width="fill_parent" > > android:layout_height="fill_parent" > > xmlns:android="http://schemas.android.com/apk/res/android"> > > <RelativeLayout android:id="@+id/RelativeLayoutPlay1" > > android:layout_width="wrap_content" > > android:layout_height="wrap_content"> > > <TextView > > android:id="@+id/lblEnterText" > > android:layout_width="wrap_content" > > android:layout_height="wrap_content" > > android:text="Enter text." > > android:layout_alignParentTop="true" > > android:layout_alignParentLeft="true" > > /> > > <EditText > > android:id="@+id/editTextToSend" > > android:layout_width="fill_parent" > > android:layout_height="80px" > > android:textSize="14sp" > > android:layout_alignLeft="@+id/lblEnterText" > > android:layout_below="@+id/lblEnterText" > > android:layout_centerHorizontal="true" > > /> > > <Button > > android:id="@+id/send_ok_button" > > android:layout_width="125px" > > android:layout_height="wrap_content" > > android:text="Send" > > android:layout_below="@+id/editTextToSend" > > android:layout_alignLeft="@+id/editTextToSend" > > /> > > <Button > > android:id="@+id/send_cancel_button" > > android:layout_width="124px" > > android:layout_height="wrap_content" > > android:text="Cancel" > > android:layout_below="@+id/editTextToSend" > > android:layout_alignRight="@+id/editTextToSend" > > /> > > > <ScrollView > > android:id="@+id/ScrollViewSelectGroups" > > android:layout_width="fill_parent" > > android:layout_height="fill_parent" > > android:scrollbars="vertical"> > > <TableLayout > > android:id="@+id/TableLayout_SelectGroups" > > android:layout_width="fill_parent" > > android:layout_height="fill_parent" > > android:stretchColumns="*"> > > </TableLayout> > > </ScrollView> > > </RelativeLayout> > > </LinearLayout> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

