Sub Globals
Dim chk as ACCheckbox
End Sub
chk.SetCheckBoxColors(Colors.Transparent,Colors.Transparent,Colors.Blue)
Since this checkbox will always be disabled i am only concerned about changing the DisabledColor .
In the screenshot it is supposed to be changing to blue color. When i test this on Android 4 & 6 , the colors are bright blue just like how I want them. But when i test it on Android 5 , it's more faded and you can hardly even see it. I have no idea why it works on the older and newer versions but not on Lollipop. Have i encountered a bug ?
Setting colors with setxxxTintList functions in Android is not very consistent with different Android versions.
The next version of the AppCompat library (whenever it will be released) will have a style-Feature. With that you will be able to set colors of every single AppCompat View (like Buttons, Checkboxes etc.) with an xml style.