title: Android Shape Rectangle with 2 colors
body: <p>I need to make a custom rectangle that should use hex colors from <strong>#bff54a</strong> up to <strong>#88c010</strong>.</p>
  
  <p><img src="https://i.stack.imgur.com/1P15P.png" alt="Rectangle two colors"></p>
  
  <p>Actually I have this xml but I can only use one of those colors. How can I make the gradient possible? I already searched and I didn't found anything like this.</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
  android:shape="rectangle" &gt;
  
  &lt;stroke
      android:width="1dp"
      android:color="@color/gray_light" /&gt;
  
  &lt;solid android:color="#88c010" /&gt;
  
  &lt;corners
      android:bottomLeftRadius="8dp"
      android:bottomRightRadius="8dp"
      android:topLeftRadius="8dp"
      android:topRightRadius="8dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>Thanks to all!</p>