I need to have some scrolling text in the top half of the screen,
and a different view on the bottom. I'm using a LinearLayout for
this. So I have some text in a ScrollView in the top half, but
that section always grows to accomodate the full text, only scrolling
when it's reached the bottom of the window, which makes the bottom
half invisible.
So my question is whether I can limit the size of one cell of a
LinearLayout so that it always takes up half of the screen.
I tried putting the text in another LinearLayout and then doing this
as an experiment:
layout.setLayoutParams(new LinearLayout.LayoutParams(100, 200);
This did limit the text to a 100 pixel wide strip, but did nothing to
limit the height of the inner Layout.
Thanks for any help,
Tobiah
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.