Issue/10648 material web preview#11169
Conversation
|
You can test the changes on this Pull Request by downloading the APK here. |
mattmiklic
left a comment
There was a problem hiding this comment.
This is looking good.
It's not a major thing, but my understanding of elevation in dark themes is that the more elevated the surface, the lighter its background should be. But here, the popup menu sitting over the bottom toolbar has a darker background than the toolbar. It seems like the toolbar should be darker and the popup background lighter. I could be wrong though, what do you think @khaykov?
|
Great catch, @mattmiklic ! I also noticed that the bottom bar is too bright. I fixed elevation on both 👍 |
|
Looking good now! 🚢 |
|
@khaykov I don't think I can work on this PR this week since I am on groundskeeping. Hopefully someone will have time for it, but if nobody else takes it, I should be able to review it on Monday 🤞 |
There was a problem hiding this comment.
Thanks @khaykov ! Looks good overall.
@mattmiklic The "Refresh" button has different color from the rest of the buttons. When I opened the screen my first impression was that "UP" is disbabled. Is it a best practice to keep the "Refresh = Toolbar action buttons" different color than the "UP" button?
Is the "Desktop" label intentionally the same in both modes?
| Light | Dark |
|---|---|
![]() |
![]() |
|
@malinajirka The UP button color was wrong. It's the only place we are using the white toolbar, so there was some mix up with styling. I updated it to be consistent with other screens (we are using I'll leave the question about "Desktop" label to @mattmiklic :) |
…of github.com:wordpress-mobile/WordPress-Android into issue/10648-material-web-preview # Conflicts: # WordPress/src/main/res/values/styles.xml
…WordPress-Android into issue/10648-material-web-preview
|
@malinajirka @mattmiklic mentioned that we can leave the label as is :) |
|
Sorry, I missed the last update ;). LGTM, thanks! |




Fixes #10648
This PR moves Web Preview screens to the material theme and adds dark mode support.
To test:
The theme can be changed from app settings.
PR submission checklist:
RELEASE-NOTES.txtif necessary.