4

I have my android:screenOrientation="portait" on but when a physical keyboard is opened it doesn't rotate the screen as I wanted, but it restarts the app. It seems to run onCreate over again or something. Can someone point me in the right direction and/or tell me how to intercept this and handle it? Thanks.

jdphenix
  • 14,226
  • 3
  • 39
  • 70
Cameron
  • 1,592
  • 1
  • 15
  • 24

1 Answers1

4

Apart from android:screenOrientation="portait" try adding android:configChanges="keyboardHidden|orientation|keyboard"

Cristian
  • 196,304
  • 62
  • 355
  • 262