skink wrote:
> i have TextView laying inside ScrollView with both layout_width and
> layout_height set to "fill_parent". ScrollView has also these params
> set to "fill_parent" and expands to fullscreen. however inner TextView
> when it's content is small enough doesn't fill parent's size (i mean
> height). why is it so? it dificults my life since i have to provide
> two touch listeners (for scroll and text views). i tried also
> TextView's gravity set to "fill" but with no success...

Delete the ScrollView, then set android:singleLine="false" in your XML 
layout.

TextView does its own scrolling, and putting self-scrolling widgets in a 
ScrollView causes problems.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: All titles, revisions, & ebook formats, just $35/year

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to