Code used in this video :
In this tutorial we will learn How to use RadioButton in Android Using Android Studio.
Generally we use RadioButtons when we want to choose from a list of items. For Example we want to give the option to the user to select his/her favorite animal, in this case we can use RadioButtons to give those options.
So lets create a…