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: Improve readability of status media labels #778

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

nikclayton
Copy link
Contributor

Previous code did not provide whitespace between different media labels when media is not loaded.

In addition, the icon for the media was centre-aligned vertically with the text, making it difficult to scan and determine when one media label ends and another one starts.

Fix this by adding an 8dp margin between the media labels, and using a TextView subclass that vertically aligns the media icon with the first line of text.

Set the compound drawables with relative alignment, so they behave appropriately in RTL layouts.

Fixes #751.

Previous code did not provide whitespace between different media labels
when media is not loaded.

In addition, the icon for the media was centre-aligned vertically with
the text, making it difficult to scan and determine when one media label
ends and another one starts.

Fix this by adding an 8dp margin between the media labels, and using a
TextView subclass that vertically aligns the media icon with the first
line of text.

Fixes #751.
@nikclayton nikclayton merged commit f477c63 into main Jun 25, 2024
23 checks passed
@nikclayton nikclayton deleted the 751-media-preview-text-margin branch June 25, 2024 09:53
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.

Add more space between image descriptions
1 participant