Skip to content Skip to sidebar Skip to footer

Actionbar Menu Items In Master/detail Flow

I'm trying to create an application using the Master/Detail Flow template provided by Android, and I'm trying to add multiple actionbar menu items to both the master and detail por

Solution 1:

All Action Bar icons appear on the right hand side - they would not be aligned with your master or detail pane. Per the Fragments guide on adding items to the Action Bar:

you must call setHasOptionsMenu() during onCreate() to indicate that the fragment would like to add items to the Options Menu

Post a Comment for "Actionbar Menu Items In Master/detail Flow"