I\'ve got an EditText that is SLOW to respond when typing. The lag is annoying enough to cause me to find a solution. I did some research and found an SO thread EditText laggi
I was having a similar issue using EditText
inside a ListView
, that was fixed by changing the EditText width
to 0dp
using weighted widths to match/fill the parent.
I don't know for sure why this was occurring, however I believe it is because when the width of the EditText
is set to wrap content it will adjust/redraw itself so that everything fits, and the ListView
will also attempt to redraw itself so everything fits. So by making the EditText
have a fixed width, this redraw is no longer required.