Android - How to handle orientation of FragmentActivity?
问题 I am currently using the Sherlock package and the view indicator package in my application to create a view pager with the titles at the top and then the action bar over that. For the most part it works OK however I have noticed that invalidateOptionsMenu() stops working after a screen orientation change. When my app loads it works fine until I rotate the device to landscape mode, from then on the invalidateOptionsMenu() call never invokes the onCreateOptionsMenu(Menu menu) method. It's a