Here\'s a simple android app I\'ve created to demonstrate my problem:
public class OptionMenuTest extends Activity {
@Override
protected void onCrea
I think I found the answer to this problem.
Take a look a this:
https://stackoverflow.com/a/7225296/48468
The problem seems to be related to the fact that Android does not destroy the fragment when the activity is destroyed (when the device is rotated).
Basically I added :
setRetainInstance(true);
to my fragment constructor and the problem go solved.
Hope it helps!