Skip to content

manishkummar21/androidCustomRadioButton

Repository files navigation

android RadioButton

Creating a CustomRadioGroup and CustomRadioButton

Steps to Create a CustomRadioGroup and CustomRadioButton

To Create a CustomRadiogroup

  1. Copy the CustomRadioGroup class and its releated interface,utils

  2. To Create a CustomRadioButton

    1. First create a custom radiobutton xml how u want.
    2. Now create a customradiobutton class by extending relative layout and inflate the your custom layout.
    3. Add the attribute file how u want set the value.

Please see the sample code.

alt text