The error message is not cleared in homeset_layout when you select a location from the dropdown box (in both create calendar and address book activity) The error message in display_name is not cleared in the create calendar activity
My idea was to validate and set the error message only when the action is started. Maybe input could be validated for every keypress, but is that really necessary? Unfortunately, I couldn’t find something about this in the Material guidelines.
Should the space for the error message pre-allocated as in login_credentials_fragment.xml (via
app:errorEnabled=“true”) and the padding adjusted accordingly?
No, it makes the layout unnecessarily large and ugly (personal opinion). Also, I don’t want to expect the error here.
and if there is only one storage location, maybe pre-select this one
Agreed. Do you have a quick fix for that (no MR required, just where to change what)? Fiddling around with UI code is always a pain for me.