Skip to content
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 #699

Merged
merged 10 commits into from
Jul 26, 2024
Merged

Material3 #699

merged 10 commits into from
Jul 26, 2024

Conversation

theimpulson
Copy link
Collaborator

@theimpulson theimpulson commented Jun 24, 2024

Sumary

This PR migrates Seedvault to use Material3.

Issues

Test

Everything passes locally

@theimpulson theimpulson requested a review from grote June 24, 2024 08:19
@theimpulson
Copy link
Collaborator Author

Switches look really bad right now. At best I can copy the colors from datura and design from AOSP's settingsLib but unless we have gradle builds or AOSP updates the material components library, it is going to look bad.

@theimpulson theimpulson force-pushed the material3 branch 2 times, most recently from afcffe1 to 632a08b Compare June 24, 2024 08:30
@grote
Copy link
Collaborator

grote commented Jun 24, 2024

> Task :app:ktlintMainSourceSetCheck FAILED
app/src/main/java/com/stevesoltys/seedvault/settings/preference/M3ListPreference.kt:47:1 Needless blank line(s) (no-consecutive-blank-lines)

@grote
Copy link
Collaborator

grote commented Jun 24, 2024

colors seem wrong here:

Screenshot_20240624_102718

@grote
Copy link
Collaborator

grote commented Jun 24, 2024

For some reason, the exclamation mark error icon isn't red anymore: Screenshot_20240624_103537

In dark theme it is even worse, because dark greyish.

@theimpulson theimpulson force-pushed the material3 branch 2 times, most recently from 5b0e44d to 21efa98 Compare July 2, 2024 05:33
theimpulson and others added 7 commits July 11, 2024 15:59
Default to NoActionBar theme and use toolbar where required

Signed-off-by: Aayush Gupta <[email protected]>
* Merge accent and primary color for simpler color management
* Apply background color on status and navigation bar
* Drop non-required colors

Signed-off-by: Aayush Gupta <[email protected]>
Material theme seems to be not respecting the tint color in the XML.
Override the colors manually to get the job done.

Signed-off-by: Aayush Gupta <[email protected]>
CollapsingToolbarLayout doesn't seems to be respecting background color for some reason

Signed-off-by: Aayush Gupta <[email protected]>
@theimpulson
Copy link
Collaborator Author

The only issue I can see right now is MD3 switches having wrong color in dark theme.

Copy link
Collaborator

@grote grote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

@grote grote merged commit a07ab64 into seedvault-app:android14 Jul 26, 2024
1 of 3 checks passed
@theimpulson theimpulson deleted the material3 branch July 27, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants