title: How to make button style with xml definition shown correct on real android device instead of emulator?
body: <p>Following code run correct on emulator. But wrong on real device.</p>
  
  <p>I have 3 xml files for corresponding button status: button_default.xml\button_pressed.xml\button_selected.xml. Here is one of them. Others are same with it except for colors.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
     &lt;item&gt;
        &lt;shape android:shape="rectangle"&gt; 
           &lt;solid android:color="#FF484747" /&gt;
           &lt;corners
              android:topLeftRadius="5px"
              android:topRightRadius="5px"
              android:bottomLeftRadius="5px"
              android:bottomRightRadius="5px" /&gt;
        &lt;/shape&gt;
     &lt;/item&gt;
     &lt;item android:top="1px" android:bottom="1px" android:left="1px" android:right="1px"&gt;
       &lt;shape&gt;
          &lt;gradient 
              android:startColor="#FF484747" android:endColor="#FF000000" 
              android:type="linear" android:angle="270"
              android:centerX="0.5" android:centerY="0.5" /&gt;
          &lt;corners
              android:topLeftRadius="5px"
              android:topRightRadius="5px"
              android:bottomLeftRadius="5px"
              android:bottomRightRadius="5px" /&gt;
        &lt;/shape&gt;
     &lt;/item&gt;  
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>Then I wrote button.xml as following:</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"
          android:drawable="@drawable/button_pressed" /&gt;
      &lt;item android:state_focused="true"
          android:drawable="@drawable/button_selected" /&gt;
      &lt;item android:drawable="@drawable/button_default" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>Last is the styles.xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;style name="button" parent="android:Widget.Button"&gt;
          &lt;item name="android:background"&gt;@drawable/button&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>This is the view on emulator(it's same on emulator 2.3 and 4.0):
  (I can't upload image now. you can find it here:<a href="http://i.stack.imgur.com/uVtd9.jpg" rel="nofollow">http://i.stack.imgur.com/uVtd9.jpg</a>)</p>
  
  <p>But it will be a <strong>yellow background</strong> button when I install the *.apk to my android pad(with android 2.3).</p>
  
  <p>Anyone can provide me any direction to solve it? Thanks in advance!!!</p>