Created
September 28, 2016 11:47
-
-
Save jkhosla/0acf733057098999b5bf79f395d2a102 to your computer and use it in GitHub Desktop.
Hiding / Showing the Action Bar in Particular Activity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is kind of tricky. | |
// To do this programitacally and for minSDKVersion 16 | |
// Import statement - | |
import android.support.v7.app.ActionBar; | |
//Usage | |
void onCreate { | |
ActionBar actionBar = getSupportActionBar(); | |
actionBar.hide(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment