-
Notifications
You must be signed in to change notification settings - Fork 217
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
wrong height for toolbar in landscape #38
Comments
Could you explain why it should be? http://2.bp.blogspot.com/-7fF9ayZ6PgI/U9iFpk5FNEI/AAAAAAAAAs0/4P4SCvdB_4M/s1600/image00.png |
That's not the expected behavior. The Toolbar should maintain it's size. I'm still investigating the problem. |
Thanks man! This was very useful to me. Besides the alignment problem you mentioned, the nav drawer overlaps the toolbar in landscape mode. Your changes solve these two problems for me! Thank you :) |
Works for me, thanks :) But I couldn't understand the reason, any idea about why it's happening? |
If you try to rotate the device in landscape mode, you will notice that the app_title is not centered.
the solution is this:
in action_main.xml replaced with :
and in toolbar_default.xml
The text was updated successfully, but these errors were encountered: