原来spinner选中以后显示的view 还是textview ,这样就是可以设置它的字体颜色了
sp.setOnItemSelectedListener(new OnItemSelectedListener() {
public void onItemSelected(AdapterView<?> arg0, View arg1,
int arg2, long arg3) {
TextView tv=(TextView)arg1;
tv.setTextColor(SearchLocaAct.this.getResources().getColor(R.color.blue));
}
public void onNothingSelected(AdapterView<?> arg0) {
}
});