title: How to override CheckBox color using AppCompat
body: <p>When my checkbox is checked, I want the color to be @color/colorPrimaryLight. I can set it that way for Lollipop by setting</p>
  
  <pre><code>android:buttonTint="@color/colorPrimaryLight"
  </code></pre>
  
  <p>in the CheckBox but I don't know how to do it for anything before Lollipop without changing </p>
  
  <pre><code>    &lt;item name="colorControlActivated"&gt;@color/white&lt;/item&gt;
  </code></pre>
  
  <p>in my theme.</p>
  
  <p>CheckBox for Lollipop:</p>
  
  <pre><code>&lt;CheckBox
  android:buttonTint="@color/colorPrimaryLight"
  android:id="@+id/SwapCheckbox"
  android:layout_marginTop="@dimen/margin_top"
  android:layout_marginLeft="@dimen/margin_left_right"
  android:layout_marginRight="@dimen/margin_left_right"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content" /&gt;
  </code></pre>
  
  <p>and for anything before Lollipop (and higher than 4.0.3):</p>
  
  <pre><code>&lt;CheckBox
  android:id="@+id/SwapCheckbox"
  android:layout_marginTop="@dimen/margin_top"
  android:layout_marginLeft="@dimen/margin_left_right"
  android:layout_marginRight="@dimen/margin_left_right"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content" /&gt;
  </code></pre>
  
  <p>And I also have in the theme for my app:</p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light"&gt;
  //...
  &lt;item name="colorControlActivated"&gt;@color/white&lt;/item&gt;
  //...
  &lt;/style&gt;
  </code></pre>
  
  <p>I can't change colorControlActivated as it must be white for the indicator in my ViewPager. Is there anyway to change the background color of my checkbox (even if it is to the default Holo style however best so that it is set to @color/colorPrimaryLight)?</p>