Closed Bug 1181314 Opened 9 years ago Closed 3 years ago

Use same assets for url bar on both phone and tablet (through scaling)

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mcomella, Unassigned, Mentored)

References

Details

(Whiteboard: [lang=java][good next bug])

Currently, we ship:

./drawable-hdpi/url_bar_entry_default.9.png
./drawable-hdpi/url_bar_entry_default_pb.9.png
./drawable-hdpi/url_bar_entry_pressed.9.png
./drawable-hdpi/url_bar_entry_pressed_pb.9.png
./drawable-large-hdpi-v11/url_bar_entry_default.9.png
./drawable-large-hdpi-v11/url_bar_entry_default_pb.9.png
./drawable-large-hdpi-v11/url_bar_entry_pressed.9.png
./drawable-large-hdpi-v11/url_bar_entry_pressed_pb.9.png
./drawable-large-xhdpi-v11/url_bar_entry_default.9.png
./drawable-large-xhdpi-v11/url_bar_entry_default_pb.9.png
./drawable-large-xhdpi-v11/url_bar_entry_pressed.9.png
./drawable-large-xhdpi-v11/url_bar_entry_pressed_pb.9.png
./drawable-large-xxhdpi-v11/url_bar_entry_default.9.png
./drawable-large-xxhdpi-v11/url_bar_entry_default_pb.9.png
./drawable-large-xxhdpi-v11/url_bar_entry_pressed.9.png
./drawable-large-xxhdpi-v11/url_bar_entry_pressed_pb.9.png
./drawable-xhdpi/url_bar_entry_default.9.png
./drawable-xhdpi/url_bar_entry_default_pb.9.png
./drawable-xhdpi/url_bar_entry_pressed.9.png
./drawable-xhdpi/url_bar_entry_pressed_pb.9.png
./drawable-xxhdpi/url_bar_entry_default.9.png
./drawable-xxhdpi/url_bar_entry_default_pb.9.png
./drawable-xxhdpi/url_bar_entry_pressed.9.png
./drawable-xxhdpi/url_bar_entry_pressed_pb.9.png

The drawable-large-* assets are the same, just larger so it'd be great to just use the same asset, scale it down on phone, and decrease the size of our APK.

In this bug, you should move the drawable-large assets to the respective device-size-agnostic drawable/ folders and update layout/browser_toolbar.xml to scale down the new asset.
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.