i am using a spinner control in my application.i want to set a label on d spinner as "select item" when the page loads.when user trying to select something from the spinner the item should be displayed on the label.is it possible?then how?plz help me
Asked
Active
Viewed 3,348 times
1 Answers
3
Use android:prompt. See this link
<Spinner
android:id="@+id/spinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:drawSelectorOnTop="true"
android:prompt="@string/planet_prompt"
/>

ilarele
- 128
- 2
- 6
-
what is the purpose of android:drawSelectorOnTop="true" ?plz let me knw – andro-girl Apr 28 '11 at 12:19