title: Android simple spinner item
body: <p>this question relates to this one: <a href="https://stackoverflow.com/questions/15955804/how-can-i-change-the-color-of-the-textview-android-r-layout-simple-spinner-dropd/15955877#15955877">android.R.simple_spinner_item</a></p>
  
  <p>Since I can't comment because of low reputation, I have an additional question:</p>
  
  <p>If I copy&amp;paste the android.R.simple_spinner_item layout, I get an error on</p>
  
  <pre><code>android:layout_height="?android:attr/dropdownListPreferredItemHeight"
  </code></pre>
  
  <p>saying "error: Error: Attribute is not public. (at 'layout_height' with value '?android:attr/dropdownListPreferredItemHeight')."</p>
  
  <p>I just added <code>android:gravity="right"</code> to get the spinner_item alignment to the right side.</p>
  
  <p>How can I solve this error?</p>