How can I change the circle picture of a radio button in both cases checked and unchecked?
I want to customize the radio buttons so instead of being like this "empty circle in case unchecked and 开发者_JS百科green on in case checked"
I want to make the picture in case it's unchecked like this
and in case it's checked like this
How can I achieve that by xml or java??
Use a state list to define different drawables for different Button states.
Here is an example: Is it possible to change the radio button icon in an android radio button group
Use state list drawables. There's a tutorial on them here.
精彩评论