title: Custom layout of spinner in Android
body: <p>I'm developing an Android application, I have to implement a custom layout for a spinner item.</p>
  
  <p>I would realize a spinner like this: </p>
  
  <p><a href="http://i.stack.imgur.com/epw9J.png" rel="nofollow">Spinner example</a>
  I have a problem to implement the "gold arrow and border".</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;Spinner
      android:id="@+id/spinner_language"
      android:layout_width="210dp"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:gravity="center_horizontal"
      android:entries="@array/spinnerItems"
      android:dropDownVerticalOffset="10dip"
      android:dropDownHorizontalOffset="0dip"/&gt;
  </code></pre>
  
  <p>This is my spinner layout:</p>
  
  <pre><code>&lt;CheckedTextView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@android:id/text1"
      style="?android:attr/spinnerDropDownItemStyle"
      android:singleLine="true"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:textColor="@color/white"
      android:background="@color/custom_black"
      android:textSize="20dp"
      android:paddingTop="10dp"
      android:paddingBottom="10dp"/&gt;
  </code></pre>
  
  <p>How i can realize it ?</p>