How can I change the font color of the selected item in a spinner?
I am able to change the background color of the selected item, the color of the dropdown item etc,
You can change the selected text color by adding OnItemSelectedListener to the spinner
qtySpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView> parent, View view, int position, long id) {
((TextView) view).setTextColor(Color.BLACK); //Change selected text color
}
@Override
public void onNothingSelected(AdapterView> parent) {
}
});