When the device rotates, I have different layouts based on portrait/landscape. So I can't put this line in manifest:
android:configChanges="orientation|screenSize|keyboardHidden"
However, if the user is in a EditText
field and the keyboard is out, and text is filled in that field, and then they rotate device, keyboard hides and text is lost (frustrating to user).
Is there a proper way to handle this situation?