How do I allow only one specific fragment to have both portrait and landscape orientations in Android?
In my Android application, I have added android:screenOrientation="portrait" to all activities in my Android.manifest and android:orientation="vertical" to every activity's/fragment's respective layout so that the app can only be viewed in portrait mode.
However, there is one fragment in particular that I want to enable both portrait and landscape orientations. This fragment extends the DialogFragment() class as it's a full-screen fragment. This fragment is contained within another fragment,...