title: How to color button background when it is disabled
body: <p>I want to color my button that is defined in a fragment. I created new style (which I use as a theme in the button) and defined "colorAccent" for enabled state, "colorButtonNormal" for disabled and parent of this style is "Widget.AppCompat.Button". I want it to be coloured exactly as it is written in colorButtonNormal when button is disabled.</p>
  
  <pre><code>    &lt;style name="Material.Button.Primary" parent="@style/Widget.AppCompat.Button"&gt;
          &lt;item name="android:colorButtonNormal"&gt;@color/color_disabled&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/color_primary&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <pre><code>        &lt;Button
              style="@style/Widget.AppCompat.Button.Colored"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="@string/button_text"
              android:textAppearance="@style/AppTheme.Text"
              android:theme="@style/Material.Button.Primary" /&gt;
  </code></pre>
  
  <p>When the button is enabled it has correct color from colorAccent. When user clicks on it, it becomes disabled and should be gray (#b2b2b2) but it becomes a little bit lighter (#E7E7E7). It seems like it takes color that I defined and mixes with white color.</p>
  
  <p>I tried to change style's parent and did some changes in style and button's attributes as it is written in some guides from the internet but nothing worked. My current solution is to set colorButtonNormal to #000000. When button is disabled, it becomes #B9B9B9.</p>