1

Android actionbar with fragments orientation change retain values

view story
linux-howto

http://stackoverflow.com – i know there are many topics focussing this problem. but nothing fit yet. so just a simple example: MainActivity public class MainActivity extends Activity { private static final String STATE_SELECTED_NAVIGATION_ITEM = "selected_navigation_item"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); final ActionBar actionBar = getActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); ActionBar.Tab a = actionBar.newTab().setText("eins"); ActionBar.Tab b = action (HowTos)