title: Spinner's scrollbar style
body: <p>I've tried to change the style and the position of the scrollbar which is inside a spinner, but it does not work.</p>
  
  <p><strong>MainActivity.java:</strong></p>
  
  <pre><code>package com.example.testapp;
  
  import android.app.Activity;
  import android.os.Bundle;
  
  public class MainActivity extends Activity
  {
      @Override
      protected void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  }
  </code></pre>
  
  <p><strong>activity_main.xml:</strong></p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;Spinner
          android:entries="@array/items"
          android:verticalScrollbarPosition="left"
          android:scrollbarThumbVertical="@drawable/scrollbar_style"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_centerVertical="true" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><strong>drawable/scrollbar_style.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;solid android:color="#FF196C96" /&gt;
      &lt;corners android:radius="5dp" /&gt;
      &lt;size android:width="2dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p><strong>values/strings.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  
      &lt;string name="app_name"&gt;TestApp&lt;/string&gt;
      &lt;string name="action_settings"&gt;Settings&lt;/string&gt;
  
      &lt;string-array name="items"&gt;
          &lt;item&gt;Item 1&lt;/item&gt;
          &lt;item&gt;Item 2&lt;/item&gt;
          &lt;item&gt;Item 3&lt;/item&gt;
          &lt;item&gt;Item 4&lt;/item&gt;
          &lt;item&gt;Item 5&lt;/item&gt;
          &lt;item&gt;Item 6&lt;/item&gt;
          &lt;item&gt;Item 7&lt;/item&gt;
          &lt;item&gt;Item 8&lt;/item&gt;
          &lt;item&gt;Item 9&lt;/item&gt;
          &lt;item&gt;Item 10&lt;/item&gt;
      &lt;/string-array&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p><strong>AndroidManifest.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.testapp"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="19" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.example.testapp.MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>Screenshot:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/y2pUH.png" alt="enter image description here"></p>
  
  <p>Note that <code>android:verticalScrollbarPosition="left"</code> and <code>android:scrollbarThumbVertical="@drawable/scrollbar_style"</code> works fine if I use them with a <code>ListView</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/Vma1v.png" alt="enter image description here"></p>
  
  <p>Is it a bug? or is there another way to manipulate the scrollbar style and position within a <code>Spinner</code>?</p>