-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This Activity already has an action bar supplied by the window decor. #48
Comments
ps. Theme = "@style/Theme.AppCompat.NoActionBar") instead Theme = CompatTheme is working but without actionbar :( |
It seems to be this line causing it in:
If you comment this out, it works. not sure what happens removing this line, but the themes work. this line: causes the error. Anyone know why? |
Is there a way to apply a theme besides NoActionBar keeping the Toolbar? |
Hmm here on http://stackoverflow.com/questions/26515058/this-activity-already-has-an-action-bar-supplied-by-the-window-decor they are saying that we should use .NoActionBar theme. I try this solution, but without any luck (this same error). But It is working properly without this code ;) |
I will take a look when I get a chance. I haven't had the time to try the 1.5 packages yet. |
Error: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
Code:
The text was updated successfully, but these errors were encountered: