Consolidate magnifying glass icons




4 years ago
4 years ago


(Reporter: mcomella, Unassigned, Mentored)


(Blocks 2 bugs)

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [lang=java])

We have:
* search_icon_active (i.e. this one is darker though - can use a filter)
* search_icon_inactive
* favicon_search
* ic_widget_search
* ab_search
* suggestion_item_search

And Anthony is giving me another one to add in bug 1166868.

We should try scaling these (caveat being some of these may have whitespace in the drawables).
suggestion_item_search may be removed when bug 1158275 lands, which shouldn't be too far off.
Mentor: michael.l.comella, mhaigh
Whiteboard: [lang=java]
In places where icons have whitespace in the drawables, consider using inset drawables to replace the whitespace.
I tinted search_icon_active successfully using DrawableCompat.setTint() in bug 1172071. Hopefully we can apply that all other occurrences of search_icon_inactive.
I'm writing a utility method in bug 1189585, `DrawableUtil.tintDrawable` to simplify this process.
You need to log in before you can comment on or make changes to this bug.