Hide the menu bar along with the snippet

How do I hide the menu bar before loading a new snippet?

Explanation: I am currently building an Android application using a slide menu, action bar and fragment. Mine MainActivity

contains: - HomeFragment

: this will display the menu bar. - LoadingBattleFragment

: This menu bar is hidden.

When you click the button in HomeFragment

, change the whole screen to LoadingBattleFragment

and from hiding the menu bar. It doesn't feel like bloating the whole layout to a new layout. He actually likes: display home_layout + menubar => displayloadbattle_layout + menubar => hide menubar. Is there a way: show home_layout + menubar => displayloadbloot_layout + without menu.

+3


source to share





All Articles