Running into a strange problem.
When I'm on portrait and have the keyboard visible and rotate to landscape, the keyboard is dismissed (with or without text in the EditText
). The text is also retained on rotation.
When I'm on landscape and have the keyboard visible and rotate to portrait, the keyboard continues to be visible on portrait.
Any idea what could be going wrong? I'm not handling configChanges myself and I don't intend to.
I also tried using stateUnchanged | adjustResize
in the XML and that did not change anything.