lost_bits1110
lost_bits1110

Reputation: 157

Button underneath a ListView

My problem is similar to what this person has posted: http://groups.google.com/group/android-developers/browse_thread/thread/216839d1c45cefa9/a1b9517d2064726b?show_docid=a1b9517d2064726b

That is, my button disappears when the listview grows too large for the screen.

However, the solution here is to anchor the button to the bottom of the screen. I don't want this, rather I want the button to stay right underneath the listview, regardless of how many rows it contains.

How can I achieve this? I have tried using ListView::addFooterView before I call setListAdapter, however when I do, then the call to setListAdapter just crashes! I have also tried to use a 'ScrollView' around my RelativeLayout, however this does not work properly either :(

Upvotes: 0

Views: 348

Answers (1)

Related Questions