I've been struggling with setting size of hints in my EditText. The hint's font size becomes too large and the layout starts to look horrible!
EditText dummy = new EditText();
dummy.setHint("some hint");
How do I dynamically and programmatically change the hint's font size w.r.t my priorly set MAX_HINT_SIZE (in pixels)?