title: Android:TextView height doesn't change after shrinking the font size
body: <p>When I click on the button, the font size shrinks to 12.
  However, the result is :</p>
  
  <p><img src="https://i.stack.imgur.com/p7lm3.png" alt="enter image description here"></p>
  
  <p>main.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical" &gt;
  
      &lt;TextView
          android:id="@+id/test"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textSize="40sp"
          android:background="#80ff0000"
          android:text="@string/hello" /&gt;
  
      &lt;Button
          android:id="@+id/button1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Button" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>java:</p>
  
  <pre><code>public class FontSizeTestActivity extends Activity {
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          final TextView text = (TextView) findViewById(R.id.test);
  
  
  
  
          Button button1 = (Button) findViewById(R.id.button1);
          button1.setOnClickListener(new View.OnClickListener() {
  
              public void onClick(View v) {
  
                  text.setTextSize(12);
              }
          });
      }
  }
  </code></pre>
  
  <p>How do I shrink the height of the textView so that it only wraps the actual font?</p>