How to manage orientation lock in android?
Posted
by pixel
on Stack Overflow
See other posts from Stack Overflow
or by pixel
Published on 2010-05-14T10:42:06Z
Indexed on
2010/05/14
10:44 UTC
Read the original article
Hit count: 350
I want to create checkbox in my preference Activity that allows user to toggle orientation change.
In similar questions people write only about complete orientation lock (by overriding onConfigurationChanged method or adding configChanges in AndroidManifest.xml) or orientation enforcing ( by setRequestedOrientation ).
Is there a way to toggle orientation lock?
© Stack Overflow or respective owner