title: Android: Using multiple shapes as a Button background
body: <p>How can I use multiple shapes defined in an xml as the background for a button in android?</p>
  
  <p>assuming I have multiple shape xml files such as :-</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android" 
      android:shape="rectangle"&gt;
      &lt;solid android:color="#eeffffff" /&gt;
      &lt;corners android:bottomRightRadius="8dip"
          android:bottomLeftRadius="8dip"  
          android:topRightRadius="8dip"
          android:topLeftRadius="8dip"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>and i want to use multishapes for the button background :-</p>
  
  <pre><code>&lt;Button
      android:id="@+id/funkyButton"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="right"
      android:text="@string/txt_higher" 
      android:background="@drawable/funkyShape"/&gt;
  </code></pre>
  
  <p>how can i combine multiple shapes to end up with a button like so :- ?</p>
  
  <p><img src="https://i.stack.imgur.com/7ckaz.png" alt="button"></p>