-
Notifications
You must be signed in to change notification settings - Fork 731
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
Upgrades app look and feel to Material You #5359
Conversation
Matrix SDKIntegration Tests Results:
|
@@ -3,7 +3,7 @@ | |||
|
|||
<!-- DARK THEME COLORS --> | |||
|
|||
<style name="Base.Theme.Vector.Dark" parent="Theme.MaterialComponents.NoActionBar"> | |||
<style name="Base.Theme.Vector.Dark" parent="Theme.Material3.Dark.NoActionBar"> |
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.
So nice to have explicit .Dark
in the theme names now!
@@ -55,7 +55,7 @@ | |||
|
|||
<com.google.android.material.textfield.TextInputLayout | |||
android:id="@+id/loginServerUrlFormHomeServerUrlTil" | |||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu" | |||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu" |
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.
This was a mistake to directly use Widget.MaterialComponents.*
in the layout. We should always have override style to our style_*.xml
. Can I ask you to create the missing files, or add style to existing files following the current naming convention? Thanks!
It apply to all the other changes in layout files (except for debug files).
…de-material-library
Parking this PR for now whilst awaiting the design team's decision on this. The PR is left at the state of a full material 3 upgrade with a couple known issues:
|
When work is approved and once again ready to work on, either reopen this or use this as reference |
Restoring this branch temporarily to provide some videos to design |
This PR shows how the app will look in Material 3, but can't be merged until we have approval from design. Based on that, the requirements and content of this might change
Type of change
Content
Upgrades the app's theme to Material 3 (a.k.a Material You)
Motivation and context
The merge of this PR closes #5393
The changelog for 1.5.0 can be found here
Material 1.5.0 introduces the new Material 3 UI design scheme.
The dependency was upgraded without side-effects in this PR.
This PR includes the full design migration (sans dynamic colors) of the app to Material 3. The components which have been visibly updated are:
Other components have been updated in the code without any user-facing changes due to behavioural changes of UI components in Material 3. These include:
Screenshots / GIFs
Tests
Smoke test the app and see that designs are either consistent with previous Element app versions or with new Android Material 3 designs.
See that the components above display as expected (whether they are changed or remain the same)
Tested devices
Checklist