Use a RelativeLayout, anchoring the two buttons to the bottom of the screen, and anchoring the ListView to the top of the screen and the top of the buttons.
Or, use a LinearLayout, with the ListView having 0dip of height but a weight of 1, so it absorbs all the extra room not used by the buttons. On Tue, Jun 14, 2011 at 9:13 AM, Charles Barnwell <cgbarnw...@gmail.com> wrote: > I want to display a list of results in a scrollable list, but at the > bottom I want to have two buttons, return and clear, that are always > displayed when I scroll down the list. > > Any about suggestions about how I could achieve this? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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