title: How can an error message be set for the Spinner in Android?
body: <p>I'd like to be able to call code like this, similar to how <code>setError</code> is set on a TextView:</p>
  
  <pre><code>spinner.setError("Error message");
  </code></pre>
  
  <p>However, <code>setError</code> only works for an EditText, not for a Spinner.</p>
  
  <p>I want to notify the user if the spinner field is not selected. How can I perform such a notification <strong>without using a Toast</strong>?</p>