title: Android: Scale TextView background image to Fit XY
body: <p>I have the following textview which uses a simple navbar png file as its background image.
  Here's the code:</p>
  
  <pre><code>&lt;TextView
          android:id="@+id/titleNameText"
          android:layout_width="wrap_content"
          android:layout_height="50dp"
          android:background="@drawable/navbar"
          android:gravity="center_horizontal"
          android:singleLine="true"
          android:textColor="@color/WHITE"
          android:textSize="18sp"
          android:textStyle="bold" /&gt;
  </code></pre>
  
  <p>The problem is that on bigger screens the navbar doesn't scale horizontally to fit the screen, how do I solve this? </p>