7

Share ActionBar between different activities

view full story
linux-howto

http://stackoverflow.com – I have an application with an FragmentActivity called MainActivity which holds two fragments, one menu fragment to the left and one content fragment to the right. On a large device both of these fragments are shown. On a small device only the menu fragment is shown and when the user presses an item in said menu the content fragment is displayed in a new Activity. Lets say the user is currently using the application on his phone and only the menu is visible: The ActionBar of MainActivity can be manipulated by user choices in the menu. When the user selects a specific menu item, a new Activity (HowTos)