The solution to fix this error was to define the hint in both places (binding.editText.hint and binding.inputLayout.hint), due to the hierarchy of the layout being used. The TextInputLayout is used to create a floating label for the EditText. For the floating label to work correctly, the hint must be defined in both EditText and TextInputLayout.
Before:
After:
my Habitica User-ID: f6e70489-0c97-49d1-abe0-032779cf9550
@rehfeld13 thanks so much for your contribution! I've added record of it to your Habitica profile and granted you a contributor tier 🎉 we'll be releasing it in the 4.3.4 update.
…your Display Name
The solution to fix this error was to define the hint in both places (binding.editText.hint and binding.inputLayout.hint), due to the hierarchy of the layout being used. The TextInputLayout is used to create a floating label for the EditText. For the floating label to work correctly, the hint must be defined in both EditText and TextInputLayout.
Before:
After:
my Habitica User-ID: f6e70489-0c97-49d1-abe0-032779cf9550