This question has already been answered:
Can I use RadioCheck to do this?
Or in Android there is some sort of special View for this?
Can you tell?
This question has already been answered:
Can I use RadioCheck to do this?
Or in Android there is some sort of special View for this?
Can you tell?
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
It is necessary to remove the button property in the xml markup from RadioButton , create a two-state drawable xml, checked = true / false. Also create a two-state color, checked = true / false.
Sections to help: StateList and Shape Drawable
https://developer.android.com/guide/topics/resources/drawable-resource.html
Source: https://ru.stackoverflow.com/questions/527041/
All Articles