2

I have made a spinner. The items in the spinner are perfect but when I select an item it is getting displayed in gray color. How to change this color ?? (Color of the selected value not of the items in dropdown list). As shown in the image below -:

enter image description here

Vipul J
  • 6,641
  • 9
  • 46
  • 61
  • public void onItemSelected(AdapterView> parent, View arg1, int arg2, long arg3) { Color myColor = getResources().getColor(R.color.green); ((TextView) parent.getChildAt(0)).setTextColor(myColor); } Check this: http://stackoverflow.com/questions/15379851/change-text-color-of-selected-item-in-spinner It worked for me – Rowan Sep 26 '13 at 03:50

0 Answers0