title: Android layout 50% 50% fill with image over it
body: <p>I'm trying to get android layout with one half of screen in one solid color, and another half - with another solid color and over it in the center of screen will be an image. 
  Is it possible to do so? </p>
  
  <p>I've tried to use one layout and set gradient to it:</p>
  
  <pre><code> &lt;gradient
          android:type="linear"
          android:centerX="51%"
          android:startColor="#FF59901d"
          android:centerColor="#FF59901d"
          android:endColor="#FF2b241f"
          android:angle="270"/&gt;
  </code></pre>
  
  <p>but it didn't work as I expected - it gave smooth color mix, not 2 colors separated each from another. I think here is needed another gradient control point. </p>
  
  <p>Another option was use 2 linear layouts and fill them with different colors, it gave normal background as I want, but in this case how to position image over both layouts at the center of screen?</p>