title: Scale image keeping its aspect ratio in background drawable
body: <p>How do I make a background image fit the view but keep its aspect ratio when using <code>&lt;bitmap /&gt;</code> as a background drawable XML?
  None of <code>&lt;bitmap&gt;</code>'s <code>android:gravity</code> values gives the desired effect.</p>