سؤال

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