title: Fit content of textview after change text size
body: <p>I have text view:</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="match_parent"
            android:layout_height="match_parent"
            android:background="@drawable/item_table_light_grey"
            android:gravity="center"
            android:orientation="vertical" &gt;
  
      &lt;TextView
              android:id="@android:id/text1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textColor="#000000"
              /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>When I change size of text using code</p>
  
  <pre><code>TextView textView = (TextView) view.findViewById(android.R.id.text1);
  textView.setTextSize(adapter.getTextSize());
  </code></pre>
  
  <p>width and height of textView not changed though text size changed successfully.
  What am I doing wrong?</p>