[android-developers] How to define some smart layout?

2010-07-09 Thread Jeruliu
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

Re: [android-developers] How to define some smart layout?

2010-07-09 Thread Kostya Vasilyev
You can achieve this by using a RelativeLayout: http://groups.google.com/group/android-developers/browse_thread/thread/f88b83d3b453a981/db595fb356a92467 (substitute height / bottom for width / right in the thread above) -- Kostya 09.07.2010 13:35, Jeruliu пишет: I will have a list view on

Re: [android-developers] How to define some smart layout?

2010-07-09 Thread YuviDroid
I think RelativeLayout should be helpful in this case. For your button, simply put in its xml tags: android:layout_alignParentBottom=true On Fri, Jul 9, 2010 at 11:35 AM, Jeruliu jeru@gmail.com wrote: I will have a list view on the top and a button on the bottom in the view. Regardless