I saw \ n used in forums before, but I thought it was for programmatic use only in java ... '\ n' really works in xml too !!! hope this helps .....
<TableRow android:id="@+id/originDesc" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_marginRight="15px"
>
<TextView android:id="@+id/widget36"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="The Bullmastiff was developed in England by gamekeepers for
protection against poachers. The foundation breeding of the
modern pure-bred was 60 per cent Mastiff and 40 per cent Bulldog.
It is a guard and companion dog, and should be loyal, obedient, and thus suitable for training."
android:textSize="10sp">
</TextView>
</TableRow>
I have this Textview (see below), the text im inserts automatic wrappers into it, and what not, but the text goes off the screen even when it flips horizontally, the obviuosly lines extend the great deal, expecting it to continue to be multi-line, but still extends half the word to the right of the screen.
Does anyone know how I can prevent this? I tried shrinkColumn = "1" to 30 without any changes, I tried a couple of different things from this.
Android3
source
share