Question

I have an EditText and an ImageButton beside it. When I click the EditText the soft keyboard shows up. Fine. When I click the ImageButton a custom dialog shows up and the soft keyboard gets automatically hidden. I want the keyboard to stay open though. How can I achieve this?

Was it helpful?

Solution

Found the solution. I used the common Dialog class to display my dialog. Using AlertDialog instead did the trick.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top