In the gravity, try center_horizontal instead of center.

Thanks and Regards,
Kumar Bibek

On May 24, 4:38 am, 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