1. 簡介
Layout which wraps an EditText
(or descendant) to show a floating label when the hint is hidden due to the user inputting text.
Also supports showing an error via setErrorEnabled(boolean)
and setError(CharSequence)
, and a character counter via setCounterEnabled(boolean)
.
Password visibility toggling is also supported via the setPasswordVisibilityToggleEnable