I am in a process of developing an Android app which have a activity and many fragments to that activity. I want to check and change the orientation of only two fragments among the many.
How do I do this? I want only these two fragments to change their orientation and not all. I came to know that we have to use OrientationEventListener for this, but I have no idea how to use this.
I am working on mobile device app and with Android 2.2 and fragment support files.
preguntado el 02 de febrero de 12 a las 10:02