title: Updating Android EditText's hint on focus change using XML only
body: <p>I read with interest user <a href="https://stackoverflow.com/users/361288/sunit">sunit</a>'s answer to <a href="https://stackoverflow.com/questions/4373888/android-edittext-hint">this question about updating an EditText's hint</a> but have been unable to find any documentation on using the method that I presume he appears to describe there: using the <code>&lt;selector&gt;</code> element in an XML layout to dynamically adjust attributes of an <code>EditText</code> at runtime when the element is focused/unfocused.</p>
  
  <p>In my case I am actually more interested in adjusting the <code>android:inputType</code> element (because the hint disappears for me when the inputType is specified) but adjusting the hint would work just as well.</p>
  
  <p>To be clear I know how to make this change in Java code--I'm trying to find out if there is a way to specify the behavior in XML.  Thanks!</p>