Click here to Skip to main content
15,070,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i made a Spinner for choosing sexuality in my application . as you know it has two items "male" and "female". now what should i do if i want to show a title inside of spinner .
i mean , it has to show ("what is your sexuality") and after user touches it , it has two show two items ...
Richard MacCutchan 27-Feb-15 10:59am
That's gender, not "sexuality", which is something completely different.

Assign the title to android:prompt attribute and set the android:spinnerMode to dialog, refer:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900