material-components / material-components/material-components-android
Add Support for Marquee in MaterialToolbar and CollapsingToolbarLayout Titles
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, MaterialToolbar and CollapsingToolbarLayout do not support marquee (scrolling text) for long titles. This is a limitation when displaying lengthy titles, especially in applications with dynamic contents.
It will be nice to Introduce an attribute like app:titleMarqueeEnabled="true" to enable it without requiring workarounds
Implementing native support for marquee would improve accessibility and user experience across Material Design components
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the MaterialToolbar and CollapsingToolbarLayout title implementations and their existing attribute handling. Determine how the proposed titleMarqueeEnabled behavior should work for long and dynamic titles, including accessibility expectations, before identifying the relevant tests. Done means both components support the requested opt-in marquee behavior without workarounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100