Reputation: 788
my app is locked in portrait orientation, but i want to know is there orientation change, locking it in manifest, makes onconfigurationchange not fire when orientation is changed even if i include configchanges.
android:configChanges="orientation|keyboardHidden"
android:screenOrientation="portrait"
is there any way to get onconfigurationchanged fired with this config?
Upvotes: 0
Views: 145
Reputation: 46543
I'm not sure you can mix the 2. You can still use the accelerometer to check for orientation change though
Upvotes: 1