button color doesn't change
<p>I use this layout for button color (blue):</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;item android:state_pressed="true" &gt;
        &lt;shape&gt;
            &lt;solid
                android:color="#449def" /&gt;
            &lt;stroke
                android:width="1dp"
                android:color="#2f6699" /&gt;
            &lt;corners
                android:radius="3dp" /&gt;
            &lt;padding
                android:left="10dp"
                android:top="10dp"
                android:right="10dp"
                android:bottom="10dp" /&gt;
        &lt;/shape&gt;
    &lt;/item&gt;
    &lt;item&gt;
        &lt;shape&gt;
            &lt;gradient
                android:startColor="#449def"
                android:endColor="#2f6699"
                android:angle="270" /&gt;
            &lt;stroke
                android:width="1dp"
                android:color="#2f6699" /&gt;
            &lt;corners
                android:radius="4dp" /&gt;
            &lt;padding
                android:left="10dp"
                android:top="10dp"
                android:right="10dp"
                android:bottom="10dp" /&gt;
        &lt;/shape&gt;
    &lt;/item&gt;
&lt;/selector&gt;
</code></pre>

<p>When i try to change the color ,it doesn't change!It remains blue whatever changes i do.</p>

<p>I use in strings.xml:</p>

<pre><code>&lt;style name="mybuttons"&gt;
    &lt;item name="android:layout_width"&gt;fill_parent&lt;/item&gt;
    &lt;item name="android:layout_height"&gt;wrap_content&lt;/item&gt;
    &lt;item name="android:textColor"&gt;#ffffff&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>Here is a part from main.xml:</p>

<pre><code> &lt;Button 
            android:id="@+id/select_c"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/choose_c"

            android:layout_marginTop="120dip"
            android:background="@drawable/blue_button"
            style="@style/mybuttons"
                /&gt;
</code></pre>
