8

Change Checkbox background in runtime-(Changing checkbox gradient colors in run time) android

view full story
linux-howto

http://stackoverflow.com – We know that in android application we can change background color of checkboxes by using SetButtonDrawable and a xml file. This xml file can be define with gradients or a simple file that used images in drawables. This article show a sample with Gradients: Android: Set color of CheckBox And also this is another sample that i used: <item android:state_checked="true"> <layer-list> <item> <shape android:shape="rectangle"> <solid android:color="#9b9b9b" /> <corners android:radius="5dp" /> (HowTos)