TextView within a TableRow scrollable
<p>Text data set to the textView22 exceeds the width . Ideally the remaining text should come in the next line of the same table row , but the text is truncated. How to display the text in a multiple lines in the same TableRow ? </p>

<p>Code below has a single row with two columns.</p>

<pre><code> &lt;TableLayout android:id="@+id/first_table"
                android:layout_width="match_parent" android:layout_height="match_parent"
                android:background="@drawable/table_shape" android:layout_marginTop="10dp"
                android:layout_marginLeft="20dp" android:layout_marginRight="20dp"&gt;
    &lt;TableRow android:id="@+id/tableRow2" android:layout_width="wrap_content"
                        android:layout_height="wrap_content" android:isScrollContainer="true"&gt;
                        &lt;TextView android:id="@+id/textView21"
                            android:layout_width="fill_parent" android:layout_height="wrap_content"
                            android:padding="5dp" android:textColor="@color/black"
                            android:text="@string/to_" android:textAppearance="?android:attr/textAppearanceMedium"
                            android:layout_gravity="right"&gt;
                        &lt;/TextView&gt;
                        &lt;TextView android:id="@+id/textView22"
                            android:layout_width="fill_parent" android:layout_height="wrap_content"
                            android:padding="5dp" android:textColor="@color/black"
                            android:textAppearance="?android:attr/textAppearanceMedium"
                            android:layout_gravity="left" android:maxLines="10"
                            android:scrollbars="vertical"&gt;
                        &lt;/TextView&gt;
                    &lt;/TableRow&gt;
    &lt;/TableLayout&gt;
</code></pre>
