Closed Bug 1200363 Opened 9 years ago Closed 4 years ago

[eng polish] Rejigger suggestion_item.xml to use compound drawables

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ally, Unassigned, Mentored)

References

Details

(Whiteboard: [good next bug])

We think we can optimize the code, though Fancy Suggestions may make that nearly impossible (Bug 1189725). So this is a follow up to Bug 1189719 while we sort out whether or not this optimization is worth doing.
Depends on: 1189719
Assignee: nobody → ally
mcomella, since I ended up re-using suggestion_item.xml and getting rid of the magnifying glass in 1189725, is there any thing left to do in SearchEngineRow.java with respect to reuse TextViews, ImageViews, or Views ? I don't think there is?
Flags: needinfo?(michael.l.comella)
The view can be switched to use a compound drawable but I don't think that's something you *need* to do – [good next bug] mentored bug?
Flags: needinfo?(michael.l.comella)
sgtm.
Assignee: ally → nobody
Mentor: ally, michael.l.comella
Summary: Rejigger SearchEngineRow.java to re-use ImageViews → [eng polish] Rejigger suggestion_item.xml to use compound drawables
Whiteboard: [good next bug]
Blocks: 1189719
No longer depends on: 1189719
I've tried using a compound drawable instead of the LinearLayout, but the history icon appears very large compared to the text (since it hasn't been scaled). Is there a cleaner way of matching the size of the icon to the text apart from setting the history icon drawable's bounds programatically?
No longer blocks: awesomescreen-v1
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
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.