material-components / material-components/material-components-android

Add Support for Marquee in MaterialToolbar and CollapsingToolbarLayout Titles

Open
#4,598 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Widget: TopAppBar
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.