I want to add drop down list in android application. Can anybody tell me, how to do this?
In android, Spinner is a view that allows a user to select one value from the list of values. The spinner in android will behave same as a dropdown list in other programming languages.
Android Spinner is just a drop down list similar to what's seen in other programming languages such as in HTML pages. In Android, Spinner is used to select one value from a set of values. In the default state, a spinner shows its currently selected value.
Android does not have any 'Drop Down' Option. You should use the 'Spinner' instead of.
Here is the implementation of Spinner:
http://developer.android.com/reference/android/widget/Spinner.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With