Android Studio - Action Bar remove. Ask Question Asked 6 years, 5 months ago. Active 9 months ago. ... You hide action bar by with different ways.
getActionBar().hide(); or. getSupportActionBar().hide(); I would suggest to migrate to ToolBar, new Android API for the same purpose. The main benefit of ToolBar is that you can treat it like other views, it guarantees to you a more flexible approach.
This example demonstrate about How to hide action bar in android. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity
Post a Comment:
Showing 0 Comments: