title: AppCompat Theme doesn't apply on Button when Debugging
body: <p>Recently I changed my Xamarin android project to use an AppCompat Theme, now I wanted to apply a custom color to my Buttons. The strange problem I have is that the color is applied in the designer, but when I debug my Application my Buttons are always gray as if I don't apply anything. </p>
  
  <p>I define my theme in my AndroidManifest.XML with:</p>
  
  <pre><code>  &lt;application android:label="MyApp" 
    android:theme="@style/MyTheme"&gt;&lt;/application&gt;
  </code></pre>
  
  <p>And my theme in my values/styles.xml</p>
  
  <pre><code>  &lt;style name="MyTheme" parent="MyTheme.Base"&gt;
    &lt;/style&gt;
    &lt;style name="MyTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
    &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
    &lt;!--We will be using the toolbar so no need to show ActionBar--&gt;
    &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
    &lt;item name="colorPrimary"&gt;#2196F3&lt;/item&gt;
    &lt;item name="colorPrimaryDark"&gt;#1976D2&lt;/item&gt;
    &lt;item name="colorAccent"&gt;#005B86&lt;/item&gt;
    &lt;item name="colorControlNormal"&gt;#005B86&lt;/item&gt; 
    &lt;/style&gt;
  </code></pre>
  
  <p>I also tried it with this code:</p>
  
  <pre><code>  &lt;style name="ButtonTheme" parent="MyTheme"&gt;
    &lt;item name="android:windowBackground"&gt;@android:color/white&lt;/item&gt;
    &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
    &lt;item name="colorPrimaryDark"&gt;@color/primary_dark&lt;/item&gt;
    &lt;item name="colorAccent"&gt;@color/accent&lt;/item&gt;
    &lt;item name="colorButtonNormal"&gt;@color/button_normal&lt;/item&gt;
    &lt;/style&gt;
  
    &lt;style name="ButtonThemeColored" parent="Widget.AppCompat.Button.Colored"&gt;
    &lt;item name="colorButtonNormal"&gt;#2196F3&lt;/item&gt;
    &lt;item name="android:textColorPrimary"&gt;#fff&lt;/item&gt;
    &lt;/style&gt; 
  </code></pre>
  
  <p>I tried to apply my styles.xml as styles and as theme to my buttons, but both works only in the Designer, but not when really debugging the app.</p>
  
  <p>My Activity is defined like this:</p>
  
  <pre><code>  public class MainActivity : AppCompatActivity
  </code></pre>
  
  <p>I know there are various examples out there, but I feel like I have tried everything and nothing works really well. </p>
  
  <h2>Update</h2>
  
  <p>My Buttons look like this in the designer, but in debugging they are grey. Please click it to have a better view. (Sorry for bad image)</p>
  
  <p><a href="https://i.stack.imgur.com/0nfno.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0nfno.png" alt="In my designer my buttons look like this"></a></p>