facebook / facebook/litho

TextUtils.TruncateAt.MARQUEE not work

Open
#539 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
7.8k
Forks
768
PR merge metrics
No merged PRs in 30d

Description

My code like this:
...
final Component component = Text.create(context)
.isSingleLine(true)
.ellipsize(TextUtils.TruncateAt.MARQUEE)//marquee not working
.text("Hello World")
.widthDip(100)
.textSizeDip(30)
.selected(true)
.focusable(true)
.build();
setContentView(LithoView.create(context, componentList));
...

why the text content not marqueen?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.