Maybe what you're talking about is something more like this, if you
replace my ScrollView with your ListView:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
>
        <TableLayout
                android:id="@+id/button_layout"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:stretchColumns="0,1"
                android:shrinkColumns="0,1"
        >
                <TableRow
                        android:layout_height="wrap_content"
                        android:layout_width="fill_parent"
                >
                        <Button
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="@string/label_send"
                                android:id="@+id/send"
                                android:layout_gravity="center_horizontal"
                        />
                        <Button
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="@string/menu_cancel"
                                android:id="@+id/cancel"
                                android:layout_gravity="center_horizontal"
                        />
                </TableRow>
        </TableLayout>
        <ScrollView
                android:layout_height="wrap_content"
                android:layout_width="fill_parent"
                android:layout_alignParentTop="true"
                android:layout_above="@id/button_layout"
        >
                <LinearLayout
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:orientation="vertical">
                        <TextView
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                android:text="@string/label_send_how"
                                style="@style/bp_label"
                        />
                        <LinearLayout
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                android:orientation="horizontal"
                        >
                                <CheckBox
                                        android:id="@+id/text"
                                        android:layout_width="fill_parent"
                                        android:layout_height="wrap_content"
                                        android:text="@string/label_text"
                                        android:layout_weight="1"
                                        android:checked="true"
                                />
                                <CheckBox
                                        android:id="@+id/attach"
                                        android:layout_width="fill_parent"
                                        android:layout_height="wrap_content"
                                        android:text="@string/label_attach"
                                        android:layout_weight="1"
                                        android:checked="true"
                                />
                        </LinearLayout>
                        <TextView
                                android:id="@+id/message_label"
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                android:gravity="center_horizontal"
                                style="@style/bp_label"
                        />
                        <TextView
                                android:id="@+id/message"
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content"
                                style="@style/bp_text"
                        />
                </LinearLayout>
        </ScrollView>
</RelativeLayout>


On May 23, 5:38 pm, Eric Murtaugh <[email protected]> wrote:
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>     android:orientation="vertical"
>     android:layout_width="fill_parent"
>     android:layout_height="fill_parent" >
>
>     <TextView xmlns:android="http://schemas.android.com/apk/res/
> android"
>         android:layout_width="fill_parent"
>         android:layout_height="20dip"
>         android:layout_marginTop="10dip"
>         android:text="Search by SKU"/>
>
>     <EditText
>         android:id="@+id/edittext"
>         android:layout_width="fill_parent"
>         android:layout_height="50dip"
>         android:inputType="phone"/>
>
> <TextView xmlns:android="http://schemas.android.com/apk/res/android";
>         android:id="@+id/name"
>         android:layout_width="fill_parent"
>         android:layout_height="50dip"
>         android:layout_marginTop="10dip"
>         android:text=""/>
>
> <TextView xmlns:android="http://schemas.android.com/apk/res/android";
>                 android:id="@+id/sku"
>         android:layout_width="fill_parent"
>         android:layout_height="18dip"
>         android:text=""/>
>
> <TextView xmlns:android="http://schemas.android.com/apk/res/android";
>                 android:id="@+id/price"
>         android:layout_width="fill_parent"
>         android:layout_height="30dip"
>         android:text=""/>
>
> <TextView xmlns:android="http://schemas.android.com/apk/res/android";
>                 android:id="@+id/desc"
>         android:layout_width="fill_parent"
>         android:layout_height="200dip"
>         android:layout_marginTop="10dip"
>         android:text=""/>
>
> <LinearLayout
>                 android:orientation="horizontal"
>                 android:layout_width="fill_parent"
>                 android:gravity="bottom|center"
>                 android:layout_height="64dip">
>
> <Button
>                 android:id="@+id/button_pic"
>                 android:layout_width="64dip"
>                 android:layout_height="64dip"
>                 android:gravity="bottom|center"
>                 android:background="@drawable/pic" />
>
>  </LinearLayout>
> </LinearLayout>
>
> thats my view, i want the horizontal layout to be at the bottom of the
> screen, right now it stays at the bottom of the other view so its last
> but not locked to the bottom of the screen, its basically gonna be
> like the menu that pops up when you hit menu but i want it visually
> custom so i needed to do it this way how would i lock it to the bottom
> of the screen
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to