-
Notifications
You must be signed in to change notification settings - Fork 398
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
Material3 Migration & Misc. Improvements #1476
Conversation
218a262
to
f68f772
Compare
Still working on that, but will try to keep it possible.
Fixed, thanks for checking. I assume there are more areas that need fixes as I can see multiple activities that still have old themes and behavior. |
Is it ok if I mention here already things that catch my eye or only when the design is ready?
I have marked the differences in yellow. The distance between the notifications should be a little smaller as before. The slider is purple when activated. And there is a crash when you want to change the timezone. |
This looks pretty cool, nice work! I have some suggestions for minor additional changes that would make everything look a bit more MD3 :)
If you have any questions let me know. I'm very excited to see this ongoing effort to move the MD3 :) Cheers and keep on the good work ^) |
838a096
to
ae0adf4
Compare
@Gitsaibot a new review would be appreciated |
The "Primary color" setting does not work. |
dd9eac6
to
ef8e741
Compare
ef8e741
to
62a72b4
Compare
@Gitsaibot where is this setting? Do you mean Themes? |
Yes, it is the third setting under general settings. There you can choose the primary color |
One of the issues I am not sure why is happening is that MaterialAlertDialogs are not visible unless they are made visible by calling |
c9973c9
to
8407f46
Compare
@Gitsaibot is Black theme and pure black color setting same thing? Edit 1: |
3afa5b3
to
20ad486
Compare
Yes, it's practically the same. If you select "System theme" in the theme settings and then activate the pure black setting, etar uses the black theme internally. |
I feel this PR is good to be merged as a base work. Not everything is pixel-perfect for sure but I feel they are minimal points and can be fixed in separate PRs now to avoid blocking this work. What do you think @Gitsaibot @jspricke? |
Before we merge this one, I would suggest creating a new version first so that we can fully concentrate on this one. And I'd like to take another look at it. |
20ad486
to
3d87786
Compare
The question has nothing to do with the PR but I get this error in the Manifest.xml. Do you get that too? foregroundServiceType:dataSync requires permission:[android.permission.FOREGROUND_SERVICE_DATA_SYNC] |
Nope, I assume this is happening as I missed the permission here. Not related to this PR and very weird for it to happen now. Probably some new dependency added some check. |
@Gitsaibot I have restricted pure black to only apply if you select the dark or black theme. Maybe you selected theme first then enabled pure black setting? |
I don't quite understand that. The "pureBlack" setting should only has an effect if "System standard" is selected as the theme. Step 1 choose systemtheme as theme This is what I wanted to show with the screenshots |
I also noticed:
|
Got it, I was confused about when it should apply. I will fix it shortly. |
Signed-off-by: Aayush Gupta <[email protected]>
* Access required resources normally Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
Signed-off-by: Aayush Gupta <[email protected]>
3d87786
to
15b0433
Compare
Rebased and fixed the pure black theme issue. |
I would like to fix dialogs in other PRs as they seem to be behaving weirdly for some unknown reason. I assume they will need a bit of work and cleanup. |
Now the black theme has the same background as the dark theme. Or am I wrong ? |
Signed-off-by: Aayush Gupta <[email protected]>
15b0433
to
70ccdaa
Compare
My bad, fixed |
I wasn't expecting these many issues. Let's hold the PR for now then. I will rework and open it again once ready. |
Okay, maybe we should also increase minSdk to at least 23 if it helps. |
Summary
This PR migrates the theme setup to use Material3 themes and does misc—improvements to the overall setup.
Dependent PRs