문제

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

도움이 되었습니까?

해결책

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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top