Question

I have a viewSwitcher containing two views. Is it possible that when I am on a certain view, to block screen orientation changes?

Was it helpful?

Solution

You can check here: How do I disable orientation change on Android? and here: http://groups.google.com/group/android-developers/browse_thread/thread/b96a845cbce44af4?pli=1 on how to set requested orientation on runtime. Hope this helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top