title: Resize drawable image in TextView android
body: <p>Wonder how to resize an image inside a <code>TextView</code> xml in a <code>LinearLayout</code>. I read some solution using <code>setCompoundDrawablesWithIntrinsicBounds</code> method, but cannot get it right.</p>
  
  <p>Here is the image:</p>
  
  <p><a href="https://i.stack.imgur.com/C6Ywx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/C6Ywx.png" alt="enter image description here"></a></p>
  
  <p>I want to reduce the size of the logo.</p>
  
  <p>Here is my TextView code:  </p>
  
  <pre><code>&lt;TextView  
      android:id="@+id/heading"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:drawableLeft="@drawable/android_logo"
      android:drawableStart="@drawable/android_logo"
      android:gravity="top"
      android:padding="16dp"
      android:singleLine="true"
      android:text="@string/heading"
      android:textSize="20dp"
      android:drawablePadding="5dp"/&gt;
  </code></pre>