java - Change checkbox color (find the source of the original animation) Android -


i change checkbox color blue instead of green (android 5). read (how change color of checkbox? , changing default color of android checkbox check mark) have to create selector , add custom images checked , unchecked. sure there must way without creating animation manually. know simple way that.

lester's answer correct. add more points

<item name="android:colorcontrolnormal">@color/dribbblepink</item> 

this changes color of rectangle/checkbox border

enter image description here

<item name="android:colorcontrolhighlight">@color/green</item>  

changes ripple animation color

enter image description here

and

<item name="android:colorcontrolactivated">@color/black</item> 

enter image description here

changes checkbox color when checked


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -