title: Opacity on a background Drawable image in View (using XML Layout)
body: <p>I was just wondering if there was a way to change the opacity of the background image for a <code>View</code> (ie. <code>TextView</code>, etc.).</p>
  
  <p>I know that I can set the background image like this:</p>
  
  <pre><code>android:background="@drawable/my_drawable_image"
  </code></pre>
  
  <p>Or I can set a specific background colour with an alpha setting like this:</p>
  
  <pre><code>android:background="#10f7f7f7"
  </code></pre>
  
  <p>Is there a way I can control the opacity (set the alpha) if I'm setting the background as a drawable image? And I want to do this in the XML Layout. I already know that I could grab the Drawable object and programmatically set the alpha, but I want to see if I can do it in the layout.</p>