title: Hint size of an EditText in XML
body: <p>I want the <code>hint</code> size of an <code>EditText</code> to be smaller than the real text. </p>
  
  <p>At present I know two solutions: </p>
  
  <ol>
  <li><p>using <code>Html.fromHtml()</code> programmatically, or </p></li>
  <li><p>using <code>&lt;font size=""&gt;</code> in the XML.</p></li>
  </ol>
  
  <p>However, I don't want to use the first solution because I want the hint to be directly written in my layout XML, while, regarding the second solution, I don't like using the <code>font</code> element because (if I'm not wrong) I cannot explicit the <code>dp</code> measure. Furthermore, the <code>font</code> element is deprecated in HTML5, so it belongs to the "old-style".</p>
  
  <p>I've tried to use the <code>span</code> element with the <code>font-size</code> attribute (from CSS) in my XML, but it doesn't work. Is there any other up-to-date solution?</p>