Thursday, 14 July 2016

Customizing Radio Group In Android

In Android, you can use “android.widget.RadioButton” class to render radio button, and those radio buttons are usually grouped by android.widget.RadioGroup. If RadioButtons are in group, when one RadioButton within a group is selected, all others are automatically deselected.

Customizing Radio Button In Android
Custom Radio Buttons
In android we can customize  the default Radio Buttons. Default Radio Buttons are small and also not attractive, By using customized Radio Buttons we can design more attractive and better user interface.

To customize Radio Buttons we need to have two drawables
1:  when radio button is selected.
2:  when radio button is not selected.

In this example I have  used these two drawables for selected and not selected state.

Click here to access Resource file

Set up android project with Open CV

Open CV is an open sourced computer vision library. It is a machine learning software library used for image processing and...