I have approximately the following layout:
<LinearLayout>
<ListView/>
<LinearLayout>
<TextView/>
<TextView/>
<EditView/>
</LinearLayout>
</LinearLayout>
What I want to achieve is that the inner LinearLayout should "attach"
to the bottom of the screen and the ListView should grow to fill the
remaining space (above the LinearLayout that is), but not "push" the
bottom LinearLayout out ot the screen. I.e. when the ListView gets to
many elements to display in the upper part of the screen, it should
start to scroll the contents.
I have tried surrounding the ListView with a ScrollView and I have
done various adjustments of layout_height of the different views, but
I can't get it to work the way I want.
I'm probably not using the correct layout for achieveing this or
something like that, does anyone have any idea on how to get this
setup to work?
--
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