I have this Activity container that will change fragments accordingly during the usage of the application.
public class MyTravelogueActivity extends SherlockFragmentActivity {
//codes here
}
Can I ask if it's possible to check that if the current Fragment is of a MapFragment class, i want to change the orientation to LANDSCAPE only? And when I click on the back button or navigate somewhere else, orientation should go back to portrait. Currently all the fragments are displayed in portrait mode...