title: Android stop textview from increasing it's size
body: <p>I have a quick question... I'm trying to make small test app for android just to see what it can do... So.. On start android sets textview.text to some text from shared prefs and increases textview size vertically.. I can't understand why.. I'm using tableview with the row of textviews in each row..
  <img src="https://i.stack.imgur.com/5zeQm.png" alt="enter image description here"></p>
  
  <p>The xml code looks something like this:</p>
  
  <pre><code> &lt;TableRow
          android:id="@+id/tableRow1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_weight="1" &gt;
  
          &lt;TextView
              android:id="@+id/tv1"
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_margin="1dp"
              android:layout_weight="5.1"
              android:background="#F8F8FF"
              android:gravity="fill_vertical|center_horizontal"
              android:textAppearance="?android:attr/textAppearanceSmall"
              android:textColor="#000000"
              android:textSize="10sp"
              android:textStyle="normal" /&gt;
      &lt;/TableRow&gt;
  </code></pre>
  
  <p>Is there anyway to stop that textview from resizing? Or there is some attribute I have missed..?</p>
  
  <p>Thanks</p>