title: custom spinner click doesn't work properly in android?
body: <p>I use custom spinner in my android application but the spinner clickable but just on border <br>
  of line and spinner not clickable on middle side on version greater than 3.0 and it is perfectly<br> work on version less than 3.0. one more problem is when spinner populates the value that <br>value is not clickable on version greater than 3.0. 
  <br >please anybody tell me why this happen.<br>
  following is the custom spinner.<br>
  <img src="https://i.stack.imgur.com/W8Thn.png" alt="enter image description here"></p>
  
  <p>my main spinner.xml</p>
  
  <pre><code>&lt;Spinner
                  android:id="@+id/bldngSpnrBldng"
                  android:layout_width="wrap_content"
                  android:layout_height="32dp"
                  android:layout_gravity="center_vertical"
                  android:layout_marginLeft="3dp"
                  android:layout_marginRight="2dp"
                  android:background="@drawable/spinner_selectors"
                  android:prompt="@string/select_building"
                  android:spinnerMode="dropdown" /&gt;
  </code></pre>
  
  <p>Here what happen when i open graphical Layout then I encountered exception like</p>
  
  <blockquote>
    <p>Failed to parse file ....\res\drawable\spinner_selector_selected.xml<br>
    Failed to parse file ....\res\drawable\spinner_selectors.xml <br>
    Resouce id 0x1010081 is not of type STYLE (instead attr) Exception details are logged in Window > Show View > Error Log</p>
  </blockquote>
  
  <p>following is the spinner listener.</p>
  
  <pre><code>spinnerPhase.setOnItemSelectedListener((OnItemSelectedListener) 
              new OnItemSelectedListener() {
  
          @Override
          public void onItemSelected(AdapterView&lt;?&gt; arg0, View arg1,
                  int arg2, long arg3) {
  
              ........
  
          }
  </code></pre>
  
  <p>spinner_selector_selected.xml for border line and spinner image at corner of spinner.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;item&gt;
      &lt;layer-list&gt;
          &lt;item&gt;
              &lt;shape&gt;
  
  
                  &lt;stroke android:width="2dp" android:color="@color/gray" /&gt;
  
                  &lt;corners android:radius="4dp" /&gt;
  
                  &lt;padding 
                      android:bottom="3dp" 
                      android:left="3dp" 
                      android:right="3dp" 
                      android:top="3dp" /&gt;
                  &lt;solid android:color="@color/pressed_color"/&gt;
              &lt;/shape&gt;
  
          &lt;/item&gt;
  
          &lt;item&gt;
              &lt;bitmap 
                  android:gravity="bottom|right" 
                  android:src="@drawable/spinner_ab_default_new_theme_bs" /&gt;
          &lt;/item&gt;
      &lt;/layer-list&gt;
  
  &lt;/item&gt;
  </code></pre>
  
  <p>Thanks in Advance</p>