title: Drawable half-half colors / Only xml
body: <p>Is it possible to create a drawable (I guess a layer-list) splitted by two:</p>
  
  <p>Half color (half left) be e.g. red, other right be green. But <strong>not use fixed</strong> <code>dp</code> <strong>values</strong>.</p>
  
  <p>Think of like we can do with <a href="https://stackoverflow.com/questions/21036929/how-to-arrange-width-and-height-of-relative-layout-to-be-half-of-the-screen/">android-weigth for Linear and Relative layouts</a>, but a drawable.</p>
  
  <p>Is something like that possible <strong>only with XML code?</strong></p>