Set background color of unchecked checkbox Android : <p>It has to be like this:</p>

<p><a href="https://i.stack.imgur.com/wfPa6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wfPa6.png" alt="enter image description here"></a></p>

<p>Currently it looks like this:</p>

<p><a href="https://i.stack.imgur.com/3gQVn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3gQVn.png" alt="enter image description here"></a></p>

<p><strong>The rounded rectangle is not that important.</strong> But the unchecked state has to be black. This is my code:</p>

<pre><code>&lt;CheckBox
    android:id="@+id/checkbox"
    android:buttonTint="@color/orange"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/&gt;
</code></pre>

<p>This is the theme I'm using:</p>

<pre><code>  "Theme.AppCompat.Light.NoActionBar"
</code></pre>

<p>I've tried this as well:</p>

<pre><code>&lt;style name="checkbox_style" parent="Bijenkorf"&gt;
    &lt;item name="material_grey_600"&gt;@color/black&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>Because the default unchecked has the color <strong>#757575</strong>. And I looked this up in the Theme and it was "material_grey_600". But this doesn't compile. Any ideas?</p>
