Hello, I'm trying to construct a layout comprised of several
linearLayouts (parents with multiple children-some vertical and some
horizontal to format things the way I want). While this may not
actually be the way I should go about this problem (I'm going to look
into using a tableLayout soon), I'm a bit curious as to why I'm
encountering this issue either way.

I encased the entire layout in a scrollview because it will ultimately
take up a bit more screen real-estate than is available when I have
things padded correctly. When I start trying to space things out (I've
tried padding and margins), it seems like the linearlayouts still
'take up' the space even though the actual visible part of the view is
shifted downwards. I did some reading about how Android draws views,
and this seems to me to be a discrepancy between my Height and my
MeasuredHeight on these layouts.

What is the correct approach to this problem? I'll probably try other
solutions regardless, but I am curious as to how spacing can be done
in LinearLayout without ending up with layouts covering one another.
Thanks in advance for any suggestions!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to