//it will help you to achieve this
genderAdapter = new ArrayAdapter<String>(context,
R.layout.my_spinner_style, subjectList) {
public View getView(int position, View convertView, ViewGroup parent) {
View v = super.getView(position, convertView, parent);
Typeface externalFont = Typeface.createFromAsset(getAssets(),
"ArchitectsDaughter.ttf");
((TextView) v).setTypeface(externalFont);
return v;
}
public View getDropDownView(int position, View convertView,
ViewGroup parent) {
View v = super.getDropDownView(position, convertView, parent);
Typeface externalFont = Typeface.createFromAsset(getAssets(),
"ArchitectsDaughter.ttf");
((TextView) v).setTypeface(externalFont);
v.setBackgroundColor(Color.GRAY);
((TextView) v).setTextColor(Color.parseColor("#FFFFFF"));
return v;
}
//above code will help to give background color for dropdown spinner and to customize the font . width of drop down depends on width of spinner.Below is the my_spinner_style.xml for customizing text
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+android:id/text1"
style="?android:attr/spinnerItemStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:singleLine="true"
android:textColor="#ffffff" />