
In this tutorial we will learn to make a spinner list .
What are we going to do ?
-> We will make a drop down menu with two options Male and Female to select your gender .Then we will display the same in a TextView .
What we need ?
A layout (activity_main.xml)
A java class (MainActivity.java)
A Spinner
A TextView
Step 1 : Design the layout (activity_main.xml) found in res-> layout with a Spinner and an empty...