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.
Asked
Active
Viewed 1,319 times
5
1 Answers
4
Apart from android:screenOrientation="portait"
try adding android:configChanges="keyboardHidden|orientation|keyboard"

Cristian
- 198,401
- 62
- 356
- 264