-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use material 3 style for SSO dialog #11001
Conversation
AlvaroBrey
commented
Nov 7, 2022
•
edited
Loading
edited
Before | After |
---|---|
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Can't use a compound drawable here, we need to size the image Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #11001 +/- ##
=============================================
+ Coverage 3.23% 31.32% +28.08%
- Complexity 420 3273 +2853
=============================================
Files 544 544
Lines 40997 41008 +11
Branches 5681 5681
=============================================
+ Hits 1328 12847 +11519
+ Misses 39588 26245 -13343
- Partials 81 1916 +1835
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlvaroBrey the buttons/background(?) need theming after .show()
I'm not sure it makes sense; as this activity may be called asking for permission for an user that's not the currently active user. |
d56026f
to
005cae2
Compare
Regarding theming I'd recommend white / black text for thr buttons. The default Material You color is not used anywhere I am aware of... |
True while I would argue to either go with @stefan-niedermann suggestions to go with a fall back of black/white or we could just use a color based on the xml-values? In any case any color other the material's default violet would be good I think. |
…let color Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
@AlvaroBrey perfect, let's go with that, also did you check on background theming with
might be tricky though since this doesn't have a color pass-through variant |
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Done. The only difference is that the background for the dark variant is a little darker (I guess for better contrast with the buttons) |
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/11001.apk |
master-IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/6599-IT-master-08-50 |