I have a 2-column table where the right-hand column in the rows might
have too much text to fit on one line, so I wanted it to wrap and
expand the table cell similar to the way it would work on a web page.
This turned out to be more difficult than I expected. When I
configured that TextView to wrap_content for both width and height,
the text would wrap, but not correctly. Some of the text was missing
as though the lines were extending past the right edge of the screen.

I finally solved it by putting shrinkColumns on the 2nd column; the
text wraps and it's all there. But I'm still curious as to what the
problem was with the off-screen wrapping. The table is fill_parent
wide, so how can a row exceed its width? And why did shrinkColumns fix
it?

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