Reputation: 137
Hi how do i remove the action bar. I tried the following code:
ActionBar actionBar=getActionBar();
actionBar.hide();
But it says that it is only possible for API Level 11. I am trying to develop for API LEVEL 8.
Upvotes: 0
Views: 242
Reputation: 15919
getSupportActionBar()
instead of getActionBar()
or via Theme:
Theme.AppCompat.Light.NoActionBar
Upvotes: 2