This is a good article: Customizing the action bar
And also you can try the following:
Create your own custom template for the spinner's background and apply it to it. For spinnerbackground.xml images, you can reference images from the SDK. recreate images according to your design requirements
"Android-SDK\\-9\Data\\-\*. PNG"
spinnerbackground.xml
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:state_window_focused="false" android:state_enabled="true"
android:drawable="@drawable/wlbtn_dropdown_normal" />
<item
android:state_window_focused="false" android:state_enabled="false"
android:drawable="@drawable/wlbtn_dropdown_disabled" />
<item
android:state_pressed="true"
android:drawable="@drawable/wlbtn_dropdown_pressed" />
<item
android:state_focused="true" android:state_enabled="true"
android:drawable="@drawable/wlbtn_dropdown_selected" />
<item
android:state_enabled="true"
android:drawable="@drawable/wlbtn_dropdown_normal" />
<item
android:state_focused="true"
android:drawable="@drawable/wlbtn_dropdown_disabled_focused" />
<item
android:drawable="@drawable/wlbtn_dropdown_disabled" />
</selector>
spinner :
<Spinner android:background="@drawable/spinnerbackground"
android:id="@+id/spinnerIDr"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
</Spinner>
:
<Spinner android:background="@drawable/spinnerbackground"
android:id="@+id/spinnerIDr"
android:popupBackground="@drawable/popup_background"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
</Spinner>
popup_background:

(name: custom_spiner.xml)
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="4dp"
android:textSize="14sp"
android:typeface="serif"
android:singleLine="true"
android:layout_marginLeft="2dip"
android:layout_marginRight="5dip"
android:ellipsize="marquee"
android:textColor="#000000">
</TextView>
adapter.setDropDownViewResource(R.layout.custom_spiner);
.
2:
, Java, PopupWindow
: custom-spinner