Android EditText setHint's font size dynamically -
i've been struggling setting size of hints in edittext. hint's font size becomes large , layout starts horrible!
edittext dummy = new edittext(); dummy.sethint("some hint"); how dynamically , programmatically change hint's font size w.r.t priorly set max_hint_size (in pixels)?
found you
edittextpassword.sethint(html.fromhtml("<font size=\"16\">" + "password " + "</font>" + "<small>" + "(at least 12 charcters)" + "</small>" )); see accepted answer here
Comments
Post a Comment