title: Button color not change... ( Android)
body: <p>I was working on a project I can create a round button and set the gradient color but when I use it in Button background the color not changed.</p>
  <p><strong>rounded_shape.xml</strong></p>
  <pre><code>&lt;shape
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:shape=&quot;rectangle&quot;   &gt;
  
      &lt;gradient
          android:startColor=&quot;#9bbbc1&quot;
          android:centerColor=&quot;#456268&quot;
          android:endColor=&quot;#456268&quot;
          android:angle=&quot;270&quot; /&gt;
  
      &lt;corners
          android:radius=&quot;25dp&quot;   &gt;
      &lt;/corners&gt;
  
  
  
  &lt;/shape&gt;
  </code></pre>
  <p><strong>Button in Xml</strong></p>
  <pre><code> &lt;Button
              android:id=&quot;@+id/btn1&quot;
              android:layout_below=&quot;@+id/edttxt1&quot;
              android:layout_width=&quot;fill_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_marginLeft=&quot;80dp&quot;
              android:layout_marginTop=&quot;2dp&quot;
              android:layout_marginRight=&quot;80dp&quot;
              android:layout_marginBottom=&quot;2dp&quot;
              android:background=&quot;@drawable/rounded_shape&quot;
              android:padding=&quot;12dp&quot;
              android:paddingTop=&quot;2dp&quot;
              android:paddingEnd=&quot;2dp&quot;
              android:paddingBottom=&quot;4dp&quot;
              android:text=&quot;Analyse&quot;
              android:textAllCaps=&quot;false&quot;
              android:textColor=&quot;@android:color/white&quot;
              android:textSize=&quot;20dp&quot;
              android:textStyle=&quot;italic&quot;&gt;&lt;/Button&gt;
  </code></pre>