title: How can I align text of the spinner to the centre?
body: <p>Here is my XML of the spinner but it did not work. </p>
  
  <pre><code>  &lt;Spinner
          android:id="@+id/frequency"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@drawable/spinner_voices"
          android:gravity="center|center_horizontal"
           /&gt;
  </code></pre>