I have a CheckBox and I don't know how to change its colours. I tried creating a custom style in styles.xml and styles21.xml I added there:
<style name="checkBoxStyle" parent="Base.Theme.AppCompat">
<item name="colorAccent">@color/white100</item>
<item name="android:textColorSecondary">@color/white87</item>
</style>
then I added the style to my CheckBox, as:
@style/checkBoxStyle
No change in the colour. Its still black and I want it white. Tried creating another checkbox, cuz I taught I might have messed the previous one. Same result.
Aucun commentaire:
Enregistrer un commentaire