Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Edit Text Set Error message appears over Navigation Drawer

Tags:

android

Upon a validation error for an edit text I use the set error function to display a message to the user why their input was wrong.

If the error message is showing, and the user opens the navigation drawer, the error message displays on top of the nav drawer.

Any ideas on how to have the error message display behind the nav drawer?

Thanks

like image 833
im_not_josh Avatar asked Nov 02 '22 10:11

im_not_josh


1 Answers

One quick and dirty solution which seems to have resolved the issue was to have the nav draw call request focus upon opening, hence removing the pop up error message from the edit text (as it looses focus), however the error icon in the edit text remained.

like image 103
im_not_josh Avatar answered Nov 08 '22 05:11

im_not_josh