title: Is it possible to specify multiple gravity values in spinner item custom_style.xml?
body: <p>I have textview.xml, which is the item style for spinners.</p>
  
  <pre><code>&lt;TextView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:gravity="left|center_horizontal"
    android:textSize="18sp"&gt;
  &lt;/TextView&gt;
  </code></pre>
  
  <p>I know that it is possible to specify both <code>(Gravity.LEFT | Gravity.CENTER_HORIZONTAL)</code>, but in xml that doesn't work - text is moved to the left only.</p>