android - Can I make the entire activity scroll instead of the ListView? -


i'm populating activity listview exceeds window size vertically. instead of user being able scroll listview, want listview take space needs , let users scroll in activity instead. possible?

here image clarification: http://imgur.com/1i2bc

on both sides there listview containing 8 elements, right 1 takes space needs show list though, pushing other views down , making entire activity scrollable.

you need use methods addheaderview , addfooterview add views before , after listview.

to add several views, first put views in layout or viewgroup , add viewgroup header or footer view (viewgroup subclass of view).


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -