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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to