Pergunta

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

Foi útil?

Solução

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!

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top