Android: Capture event when orientation change from portrait to reversePortait

571 Views Asked by At

My application supports portrait mode only including the upside down view. Hence I've got the following in the menifest:

android:screenOrientation="sensorPortait"

Also the following to capture orientation change events:

android:configChanges="orientation|keyboardHidden"

But onConfigurationChanged event is not fired with portrait only supported application.

I need to catch the event when the application changes orientation from normal portrait to reverse portrait. Any idea?

0

There are 0 best solutions below