Remove Action Bar from a single Layout

2

I wanted to know how to do to remove the action bar from a single Layout, but in the others if it is. For example, in the login screen of the application that is not the Action bar, but once the session starts and changes layout if the action bar appears

    
asked by Nicolas Schmidt 03.04.2016 в 08:07
source

1 answer

5

With this in your Manifest:

 android:theme="@android:style/Theme.NoTitleBar"

Clear depending on the activity you want.

Or from the code of the activity you want:

ActionBar actionBar = getActionBar(); //o en su caso getSupportActionBar();
actionBar.hide();
    
answered by 03.04.2016 / 08:37
source