title: Android Button background color not changing on xml
body: <ul>
  <li>Android Stidio 4.1.1
  <ul>
  <li>SDK 29 (Android 10)</li>
  </ul>
  </li>
  </ul>
  <p>I trying to change button background color on xml, but it doesn't changed.</p>
  <p>here's my code</p>
  <pre><code>&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      tools:context=&quot;.MainActivity&quot;
      android:orientation=&quot;vertical&quot;&gt;
  
  &lt;Button
          android:id=&quot;@+id/button1&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:background=&quot;#ff0000&quot;/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/XFaJH.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I think it might be work fine, but it still purple color :(</p>