I have used simple cursor adapter to set adapter for spinner as i have used sqlite databse. but i am not able to customize the font color of the spinner,
Here is the Url of the my spinner has dark red background i want to change text color to white using simple cursor adapter with spinner android
code :
Cursor cursor = dbAdapter.getAllData();
if(cursor.getCount()>0){
String[] from = new String[]{"columm_name"};
// create an array of the display item we want to bind our data to
int[] to = new int[]{android.R.id.text1};
SimpleCursorAdapter mAdapter = new SimpleCursorAdapter(this, android.R.layout.simple_spinner_item, cursor, from, to);
mAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinnerName.setAdapter(mAdapter);