Closed Bug 1191561 Opened 9 years ago Closed 3 years ago

Add custom drawable tint/tintList attributes to Themed*

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mcomella, Unassigned)

References

Details

The support libraries provide methods to use the tint and tintList attributes in code via DrawableCompat API, however, there are no XML attributes available.

However, as I implemented in bug 1179479 in MenuItemActionBar, it does seem possible to implement these attributes ourselves via custom XML attributes and accessing the APIs.

These APIs would be at home in Themed*, particularly ThemedImage*, where there is a drawable to tint, though it may need to be a sub-class because these views are auto-generated.

Note: we'd also want MenuItemActionBar to also use this attribute, rather than duplicating it's own so remove that when you complete this.
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: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.