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

Fix toolbar height in message list #7861

Merged
merged 1 commit into from
May 27, 2024
Merged

Fix toolbar height in message list #7861

merged 1 commit into from
May 27, 2024

Conversation

cketti
Copy link
Member

@cketti cketti commented May 21, 2024

Use a custom view in the toolbar for the title and the subtitle. This works around a bug in AndroidX's Toolbar implementation: https://issuetracker.google.com/issues/135865267

Depends on #7860

Before After
image image

Note: Even when using the default font size this does slightly increase the toolbar height when using a subtitle vs. when not using a subtitle. We could change that by using a value smaller than @dimen/toolbarTitleMarginVertical.

Fixes #7854

@cketti cketti requested a review from wmontwe as a code owner May 21, 2024 14:11
Copy link
Collaborator

@wmontwe wmontwe left a comment

Choose a reason for hiding this comment

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

👍 It fixed the immediate problem of cutting of the subtitle. But we need to discuss with design if it makes sense continuing with it or come of with an alternative solution. With Material 3 the support for a subtitles was droped. That's why they are not going to fix the component.

Base automatically changed from account_settings_toolbar to main May 27, 2024 09:54
@cketti cketti merged commit 4fc04ea into main May 27, 2024
2 checks passed
@cketti cketti deleted the toolbar_size branch May 27, 2024 09:56
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.

Account Inbox email adress truncated bottom
2 participants