I am using CustomListView, which contains edittext items. When I want to type text in the bottom-most element of the CustomListView, when pressed, the keyboard appears and the edittext moves up. But if I call any dialog, now when editing the edittext, the keyboard closes the input test. This also happens if I minimize and deploy the application. How to do this so that the keyboard does not close the edittext? If possible, then a cross-platform solution ...