Open vozhyk- opened 7 years ago
Usually, when nothing is entered into an EditText, it has a 'hint' text displayed instead. It should be also possible to show the dictionary for it.
EditText
Use getHint() instead of getText() when the latter is empty.
getHint()
getText()
Test fixture: edittext_hint. Empty EditTexts with hints aren't recreated.
edittext_hint
Usually, when nothing is entered into an
EditText
, it has a 'hint' text displayed instead. It should be also possible to show the dictionary for it.Use
getHint()
instead ofgetText()
when the latter is empty.