-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Material buttons and checkboxes #1090
Conversation
First screenshots for discussion especially with @jancborchardt multi select check boxes and buttons (on lollipop device) multi select check boxes and buttons (on Android 15 device) --> See the problem with not having a shadow on the button |
@AndyScherzinger wow, you're awesome! :) |
The whitespace is fine, this also happens on lollipop - it depends on the longest path name in the chooser, thus the size varies per folder :) |
…into material_buttons
@AndyScherzinger that’s kind of strange though, no? It seems because the dropdown arrow is floating (unlike for a dropdown box) it should always stick next to the text. |
Yeah, I guesss. It still seems to be the Google desired (?!) behaviors... |
… values for List items as well as font sizes
@purigarcia can you check the button's look and feel for Android 4.1/4.0 on a device? My screenshots for pre lollipop are done in an emulator, so I am not sure a "real" device would render them the exact same way. On the other hand, the contrast is very low (light background color and light button coloring), @jancborchardt any opinion on that? Maybay make the buttons blue (like the action bar?). This would solve the rendering issue (in a pragmatic way) |
@AndyScherzinger I would definitely not make both buttons dark blue. Maybe the primary button (in this case »Upload«) should be differently colored – try |
@jancborchardt see attached the primary button in blue with the secondary one in grey or white |
@AndyScherzinger nice! I’d say the first version of each is better, with the other button being grey rather than white. |
Great! :) 👍 |
For some reason I got the highlight color of the textfield fixed on this branch (more styling done on here already), but it doesn't work on the material_toolbar branch (yet) :( - So maybe leave it on here and take this PR to be a fix for the bug on PR #1076 ? |
…into material_buttons Conflicts: res/layout/ssl_untrusted_cert_layout.xml res/layout/ssl_validator_layout.xml
PR is ready for Test imho, what do you think @jancborchardt @purigarcia ? |
I think it’s awesome, as I said 👍 :) |
@jancborchardt Danke für die Blumen :) - see attached the standard folder view. It is a minor change but a change nevertheless. According to the material Guidelines I changed the standard item padding to 16dp and the icon size in the list items to 32dp. This adds up to slightly more whitespace (which is good imho) but I something I like to mention just to make sure this change isn't missed in the review and any feedback has been considered. |
Code looks fine to me, a quick test in an emulator (nexus 5) also looks fine 👍 |
Great! Thanks for the code review @tobiasKaminsky Is this PR fine design wise @jancborchardt |
👍 design wise as said before. :) |
See #1130, there I suggested this already. |
👍 |
@AndyScherzinger, yes I know, this is very appreciated! it´s on the backlog. |
Aaaaah! @davivel I made a big mistake and pushed this branch to master instead of the other way round. Are you able to revert my push/commit in any way? I'm very Sorry!!!! |
Don't worry, I'll revert it. |
Master fixed, but the PR is not recovered by Github. New PR, same branch in #1209 |
Thanks a lot @davivel !!!! 👍 |
Material buttons - before in #1090
Just for documentation: this has been merged to master via #1209 now |
Started a followup branch
material_buttons
and PR to #1076 as per discussion with @davivelThings being implemented on this branch (already):
Things I would start working on (subject to discussion):
pinging @davivel @jancborchardt @tobiasKaminsky @masensio for the discussion