I have a ListView that I need to manually resize when the keyboard is displayed.
This works by overwriting the onSizeChanged method and changing the size of the view accordingly. (Thanks to this post How to set size and layout in onSizeChanged?)
However, when the size of the list view is changed the EditText that I clicked on loses its focus and I can't enter any text.
EDIT: I tried to set the focus of the EditText that had the focus before, however, this doesn't always work, although the method returns true when calling request focus