mardi 11 août 2020

How to use AppCompatCheckBox inside InputMethodService?

I am creating a custom keyboard with InputMethodService, there are checkboxes inside my keyboard and i need to change the color. I've found that you can use this for min API 21+

<Checkbox
  android:buttonTint="@color/red" />

and with AppCompat

<Checkbox
  app:buttonTint="@color/red" />

but when i run my keyboard, the color does not change at all

is it because im not running on a AppCompatActivity?




Aucun commentaire:

Enregistrer un commentaire