1

In my app, I have list of chat messages. Each message on click shows popup context dialog menu. My problem is that, when user clicks the input window, Soft-keyboard is opened, then he clicks on of the messages. When DialogFragment is opened it closes Soft-keyboard.

How I can prevent closing Soft-keyboard on dialog opening just like Hangouts does in screenshot?

I have these settings in Manifest for this activity:

          android:configChanges="screenSize|orientation|keyboardHidden"
          android:windowSoftInputMode="stateHidden|adjustResize"

enter image description here

Rafael
  • 6,091
  • 5
  • 54
  • 79

0 Answers0