Closed
Bug 1315350
Opened 8 years ago
Closed 4 years ago
Do something less hacky to ellipsize a custom tab's toolbar title at the start
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: droeh, Unassigned)
References
Details
To force the TextView contained by the Toolbar to ellipsize at the start we currently use a fairly ugly approach that could break in the future:
> + Field f = toolbar.getClass().getDeclaredField("mTitleTextView");
> + f.setAccessible(true);
> + textView = (TextView) f.get(toolbar);
> + textView.setEllipsize(TextUtils.TruncateAt.START);
Possibly adding our own TextView to the Toolbar would be a safer approach.
Comment 1•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•