title: Android spinner prompt
body: <p>I have a problem with <code>android:prompt</code> for a spinner. I used this code in the XML file but it doesn't work:</p>
  
  <pre><code>&lt;Spinner 
      android:id="@+id/spinner" 
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginTop="120dp"
      android:prompt="@string/club_type"&gt;
  &lt;/Spinner&gt;
  </code></pre>
  
  <p>I also tried to use this code in my main activity but this doesn't work either:</p>
  
  <pre><code>spinner.setPrompt("Select club");
  </code></pre>
  
  <p>While I was using the second case I didn't use <code>android:prompt</code>; in other words, I tried them individually. Could someone help me?</p>