title: how to create custom button using  gradient effects?
body: <p>how to create such <img src="https://i.stack.imgur.com/QYPls.png" alt="enter image description here"></p>
  
  <p>type of button baground using button selector ?
  i add button selector code hare please help me ..</p>
  
  <p></p>
  
  <pre><code>&lt;item android:state_enabled="false"&gt;
       &lt;shape&gt;
          &lt;gradient
              android:startColor="#B2D570"
              android:endColor="#79B903"
              android:angle="270" /&gt;
          &lt;stroke
              android:width="1dp"
              android:color="#4C5E2E" /&gt;
          &lt;corners
              android:radius="2dp" /&gt;
          &lt;padding
              android:left="5dp"
              android:top="4dp"
              android:right="5dp"
              android:bottom="4dp" /&gt;
      &lt;/shape&gt;
   &lt;/item&gt;
  </code></pre>
  
  <p></p>