I was able to set Color to the first item in the Spinner using the following line of code. But how to give color to the item other than the first item selected by the user.
List<String> spinnerArray =getContacts();
ArrayAdapter<String> adapter = new ArrayAdapter<String>(
this,R.layout.spinner_effect, spinnerArray);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
Spinner contactSpinner = (Spinner) findViewById(R.id.SpinnerchooseContact);
contactSpinner.setAdapter(adapter);
((TextView) contactSpinner.getChildAt(0)).setTextColor(Color.GRAY);