android to long text for scrolable view
<p>I have a problem that seems to be very strange. Here is the code;</p>

<pre class="lang-xml prettyprint-override"><code>&lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/bghome" &gt;

    &lt;TableRow&gt;

        &lt;TextView
            android:id="@+id/TextTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="10dp"
            android:layout_marginTop="10dp"
            android:gravity="center"
            android:text="Wrocław"
            android:textColor="#FFFFFF"
            android:textSize="20dp" /&gt;
    &lt;/TableRow&gt;

    &lt;TableRow&gt;

        &lt;ScrollView
            android:layout_width="fill_parent"
            android:layout_height="400dp"
            android:layout_marginLeft="10dp" &gt;

            &lt;TextView
                android:id="@+id/TextMain"
                android:layout_width="300dp"
                android:layout_height="400dp"
                android:layout_gravity="center_vertical|right"
                android:text="Ładowanie danych..." &gt;
            &lt;/TextView&gt;
        &lt;/ScrollView&gt;
    &lt;/TableRow&gt;

&lt;/TableLayout&gt;
</code></pre>

<p>Now. When I put quite long text in the TextView (inside scrolable view). I get disortion problem. Top of the text gets cut down. (Goal is to create a title and below it a scrolable container for html text from serwer - a html code).</p>

<p>Id doesnt matter is I put html string on plain string, or I get data from serwer or hardcode it. I tried every combination, and I cant crack it.</p>

<pre><code>MainText.setText(Html.fromHtml(Plain_str));
MainText.setText(Plain_str);
MainText.setText(Plain_str.toString());
</code></pre>

<p>Nothing helps.</p>
