Keep TextInputLayout always focused or keep label always expanded
问题 I was wondering if it's possible to always keep the label expanded regardless of whether or not there is text in the EditText . I looked around in the source and it is a using a ValueAnimator and a counter inside a TextWatcher to animate or not animate changes. Maybe I can set a custom TextWatcher with a custom ValueAnimator on the EditText inside the TextInputLayout ? 回答1: The current version of the TextInputLayout exists specifically to do one thing - show / hide the helper label depending