Last active
August 29, 2015 14:17
-
-
Save StKotok/dc5db69238d567ff0dee to your computer and use it in GitHub Desktop.
Hide ActionBar: put this code to onCreate method fo activity
This file contains hidden or 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
try { // this hide ActionBar in Android app | |
getWindow().requestFeature(Window.FEATURE_ACTION_BAR); | |
getActionBar().hide(); | |
} catch (NullPointerException ignore) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment