-
Notifications
You must be signed in to change notification settings - Fork 564
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
Layout adjustments #6
Conversation
…ms to be styled for appearance Also introduce an ActionBarItem style that sizes for content, and removes padding and margin, permitting a bar-size drawable
…ontration purposes; Includes updating the actionbar_item layout to use the ActionBarItem style
Thank you. This looks good, but currently it breaks the height of the action bar in another project of mine that's using the action bar. I had to apply the following patch to your suggestion to fix the height problems I noticed in that app;
Not necessary to fix the height problem, but I've also added a new style Does this break your intentions with the original patch? |
That looks fine. I'd be happy with those changes. |
Great, will apply it later on tonight then. But I guess there must be a more elegant way to have the items inherit the action bar height. I guess it's the separator that breaks it all, will look into that later on. Thanks again for your contribution. |
Merged and pushed. I hope this plays well with your app. If you have to do further changes just send another pull request. |
I've needed to make changes for my own project, and I've tried to re-factor those requirements so they will be usable by others.
The goal was to allow the Action Bar items to use bar-size (full height) buttons.
Additionally I updated the example project to show that my changes are compatible with the standard use.
I'm not sure what your policy is with
.gitignore
? I added one that prevents cruft showing up in git status after running$ android update project --path <proj-path> --subprojects
Feel free to suggest changes for me to make to ensure a clean pull, or make those changes yourself if you feel inclined.
If you're not comfortable pulling these changes in, I'll just keep pulling any changes that you make to keep my usage in kind.
Thanks,
Rob.