vendredi 10 août 2018

How change The icon and colors both in checkbox android

I make my checkbox looks different by drawable:

<item
    android:drawable="@drawable/ic_shuffle"
    android:state_selected="true"
    />
<item
    android:drawable="@drawable/ic_shuffle"
    android:state_selected="false"
    />

And in the checkbox on layout I set android:button="@drawable/mix_checkbox"

And it's ok. But for now, how can I set the different colors to those icon's I set? I have to try some ways from here, but unsuccessfully. Help




Aucun commentaire:

Enregistrer un commentaire