The TextView id/question wraps its text ( android:shrinkColumns="1"! ). Sometimes it does not wrap exactly, if the text ends with ", ..." and is only a little bit longer as exactly n lines RelativeLayout xmlns:android="schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/rl_complete_string_end" android:paddingTop="14dip" android:paddingBottom="0dip" android:paddingRight="10dip" android:paddingLeft="12dip.
The TextView id/question wraps its text ( android:shrinkColumns="1"! ). Sometimes it does not wrap exactly, if the text ends with ", ..." and is only a little bit longer as exactly n lines.
Thanks for this. I'll try this out in due course (I have a few things to take care of on this project) and hope to accept an answer. – SK9 Mar 22 at 4:58 1 @All: android:shrinkColumns="0" works perfectly for me, rather than android:shrinkColumns="1"which I had been trying.
I'm not sure if it's what you're suggesting, but your answer is solid and my comment appears here. Together they answered my question. – SK9 Mar 23 at 3:44 @All: android:stretchColumns="0" is also useful/better, it seems, if (as in my case) the table only has one column which you want to stretch to fill the screen.My TableLayout XML is given in my answer on this page (below at the time of typing).
– SK9 Mar 23 at 12:31 Yes you are absolutely right about the confusion about stretch/shrinkColumns="? ". Most of the time I use android:shrinkColumns="*".
For some very special cases I explicitly use the column number I want to be stretched/shrunken. – Michael Biermann 9 Mar at 23:04 Yep, don't know why it works but ... Thanks! – gnac 9 Mar at 1:46.
Maybe try as follows: myTextView. SetText(Html. FromHtml("On " + stringData1 + " at " + strinData2); I know, looks a bit like a "wheelchair" solution, but works for me, though I also fill a text programmatically.
Thanks for this. I'll try this out in due course (I have a few things to take care of on this project) and hope to accept an answer. – SK9 Mar 22 at 4:59 A short complete answer is given by Michael plus my comments.
– SK9 Mar 23 at 4:06 @SK9 Works perferctly, thanks! – 87element Mar 23 at 11:42.
For the sake of completeness, this is how my TableLayout reads in XML: I later populate this with TableRows.
I'm hitting this with everything I can find here and can think of to permit the text to wrap on many lines but to no avail: The text is always forced to a single line, running off the screen. It might matter that I'm working inside a TableRow here, and so far as I can tell this hasn't been treated on this site. So, how do I force my second TextView to wrap to many lines?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.