Closed
Bug 1310143
Opened 8 years ago
Closed 4 years ago
Use more vector drawables for simple images / icons to reduce APK size
Categories
(Firefox for Android Graveyard :: Theme and Visual Design, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: sebastian, Unassigned)
References
Details
For Activity Stream we started to add icons as vector drawables (See bug 1309821, bug 1300144, bug 1308525). Those are just tiny XML snippets and much smaller than PNG files in various densities.
We could replace some of the existing icons (or simple images) with vector drawables and reduce the APK size. Android does not support the full spectrum of SVG and we rely on the support library to backport the implementation to older Android versions. Therefore it might not be possible to convert all icons.
https://developer.android.com/studio/write/vector-asset-studio.html
Comment 1•8 years ago
|
||
FWIW I'm currently looking into some replacements in Bug 1312114.
I'd strongly recommend testing and debugging replacements on Android 4 devices: VectorDrawable's can't be used everywhere by default (e.g. as compoundDrawable's for a TextView don't work, but you can load the drawable from AppCompatDrawableManager, and then set it on a TextView), so some code might have to be rewritten for VectorDrawable's to be used. Some such patches are likely to land in Bug 1312114.
Updated•8 years ago
|
Updated•7 years ago
|
Comment 3•6 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Needinfo :susheel if you think this bug should be re-triaged.
Priority: -- → P5
Comment 5•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
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
•