title: android:hint not disappearing onFocus using EditText
body: <p>I am on Android 3+ and I am trying to add hints to my edit text widgets. I tried adding the hint to the layout as follows...</p>
  
  <pre><code>&lt;EditText
          android:id="@+id/bar_name"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:inputType="text"
          android:hint="@string/bar_name_hint"
          android:imeOptions="actionNext"
          /&gt;
  </code></pre>
  
  <p>But when I focus on the Text box it writes over the hint instead of the hint disappearing.</p>
  
  <p><a href="http://desmond.imageshack.us/Himg580/scaled.php?server=580&amp;filename=barhintprob.png&amp;res=crop" rel="nofollow noreferrer">Hint Issue http://desmond.imageshack.us/Himg580/scaled.php?server=580&amp;filename=barhintprob.png&amp;res=crop</a></p>
  
  <p>I found documentation on adding a onFocus listener to the EditText, but I would like to avoid doing this programatically. The post below also mentioned using selectors but I can't find documentation on how to do that.</p>
  
  <p><a href="https://stackoverflow.com/questions/4373888/android-edittext-hint">Android EditText Hint</a></p>
  
  <p>So what is the best way to handle this?</p>