Matty's sample works, thanks. On Jul 9, 11:14 pm, Matty <[email protected]> wrote: > This simple layout seems to work for me: > > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout > xmlns:android="http://schemas.android.com/apk/res/android" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:orientation="vertical" > android:gravity="center"> > <ListView > android:id="@+id/ListView01" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:layout_weight="1" /> > <Button > android:text="@+id/Button01" > android:id="@+id/Button01" > android:layout_width="wrap_content" > android:layout_height="wrap_content" /> > </LinearLayout> > > On Jul 9, 5:35 am, Jeruliu <[email protected]> wrote: > > > I will have a list view on the top and a button on the bottom in the > > view. > > > Regardless the height of the list view i would like to fix the button > > position on the bottom all the time. > > > If the list view is too long then make it scrollable. > > > How to do this? thanks. > >
-- 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

