android RadioButton
Creating a CustomRadioGroup and CustomRadioButton
Steps to Create a CustomRadioGroup and CustomRadioButton
To Create a CustomRadiogroup
-
Copy the CustomRadioGroup class and its releated interface,utils
-
To Create a CustomRadioButton
- First create a custom radiobutton xml how u want.
- Now create a customradiobutton class by extending relative layout and inflate the your custom layout.
- Add the attribute file how u want set the value.
Please see the sample code.