Relative Content

Tag Archive for androidtextviewandroid-edittexthint

Why does Android have hint on TextView instead of EditText?

Hints are the text that appears in text fields (Android XML calls them EditText) before any text is entered, and disappears when the user adds any characters to the field. A basic example would be a field that looks like [First name] to hint to the user that they should type in their first name into the text field, and after they enter “B” it would look like [B ].