How can I add items to a spinner in Android?
Answers
Answered by
0
Spinner (DropDown List) Open “res/layout/main.xml” file, add two spinner components and a button. In “spinner1”, the “ android:entries ” represents the selection items in spinner.Nov 29, 2011
Android spinner (drop down list) example –
Answered by
0
to create a new spinner in android :
Step1: create a new project in android studio,go to file=new project and fill all required details to create a new project
Step2:add the following code:
to res/layout/activity _main.xml.
Similar questions