Well,there is no official libraries released till now. So, You have to custom create it. Mine seems like this attached image. I have done some simple steps.
Step 1 :
Add one shape_
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@android:color/transparent"/>
<stroke android:width="1dip" android:color="#424242" />
<corners android:radius="3dip"/>
<padding android:left="0dip"
android:top="0dip"
android:right="0dip"
android:bottom="0dip" />
you can easily change your stroke color from here .
step 2 : Design the spinner _
<RelativeLayout
android:id="@+id/lyGiftList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/lyPhysicianList"
android:layout_marginLeft="@dimen/_5sdp"
android:layout_marginTop="@dimen/_5sdp"
android:layout_marginRight="@dimen/_5sdp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/_3sdp"
android:layout_weight="8"
android:orientation="horizontal"
android:background="@drawable/border"
tools:ignore="UselessParent">
<Spinner
android:id="@+id/spnGift"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overlapAnchor="false"
android:spinnerMode="dropdown" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/_9sdp"
android:layout_marginTop="-5dp"
android:background="@color/colorLightGrey"
android:paddingLeft="@dimen/_3sdp"
android:paddingRight="@dimen/_3sdp"
android:text="@string/gift"
android:textColor="@color/colorDarkGrey" />
</RelativeLayout>
And if you want to make your spinner selected text color something else you can do that from code .
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
((TextView) view).setTextColor(ContextCompat.getColor(MainActivity.this, R.color.colorAccent));
}