Closed
Bug 1955881
Opened 7 months ago
Closed 7 months ago
[app icon picker] Create `adaptive-icon` xmls
Categories
(Firefox for Android :: Settings, task)
Tracking
()
RESOLVED
FIXED
139 Branch
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: mavduevskiy, Assigned: mavduevskiy)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid])
Attachments
(3 files)
Create adaptive-icon xmls with added icons, backgrounds and using existing in main launcher monochrome icons.
Link to the final icon version: click
- Add both square icons and round icons (round icons were added in API 25), also we are using square versions for presenting icon options to the user;
- Verify with the UX that we are not using round versions there, since it’s a departure from the actual look for the majority of devices that use round icons;
- For consistency, consider tying the naming of the icons and aliases to the title names we will be using in the app icon picker screen. It might come in handy, especially if we experiment with promoting sets of icons, configuring nimbus parameters with a list of activity alias names.
- Icon requirements (from the spike)
To set expectations about file sizes, here are some examples of icons from the app:
Ic_launcher_foreground, release app icon, 11kb
Ic_launcher_private_background, private mode icon gradient background, 884b
Ic_extensions_onboarding, central image for addons onboarding card, 30kb
Ic_notification_permission, central image for notification permissions, 129kb – biggest vector file we have
~10kb for simpler icons, ~50kb for more elaborate images, ~150kb exceptional
| Assignee | ||
Updated•7 months ago
|
| Assignee | ||
Updated•7 months ago
|
Whiteboard: [fxdroid]
Updated•7 months ago
|
| Assignee | ||
Updated•7 months ago
|
Assignee: nobody → mavduevskiy
| Assignee | ||
Comment 1•7 months ago
|
||
| Assignee | ||
Comment 2•7 months ago
|
||
| Assignee | ||
Comment 3•7 months ago
|
||
Updated•7 months ago
|
Attachment #9477930 -
Attachment description: WIP: Bug 1955881 - Part 1: Adding app icons with solid background for icon picker screen → Bug 1955881 - Part 1: Adding app icons with solid background for icon picker screen
Updated•7 months ago
|
Attachment #9477942 -
Attachment description: WIP: Bug 1955881 - Part 2: Adding app icons with gradient background for icon picker screen → Bug 1955881 - Part 2: Adding app icons with gradient background for icon picker screen
Updated•7 months ago
|
Attachment #9477943 -
Attachment description: WIP: Bug 1955881 - Part 3: Adding app icons with alternative foreground for icon picker screen → Bug 1955881 - Part 3: Adding app icons with alternative foreground for icon picker screen
Pushed by mavduevskiy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c973ae68a90c
Part 1: Adding app icons with solid background for icon picker screen r=android-reviewers,gmalekpour,twhite
https://hg.mozilla.org/integration/autoland/rev/afdc96441697
Part 2: Adding app icons with gradient background for icon picker screen r=android-reviewers,gmalekpour,twhite
https://hg.mozilla.org/integration/autoland/rev/cda489dfe14a
Part 3: Adding app icons with alternative foreground for icon picker screen r=android-reviewers,gmalekpour,twhite
Comment 5•7 months ago
|
||
Backed out for causing fenix build bustages
Backout link: https://hg.mozilla.org/integration/autoland/rev/4b373fe060fb3e80baeb7471fb6085450238df28
FAILURE: Build failed with an exception.
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z] * What went wrong:
[task 2025-04-15T04:07:17.428Z] Execution failed for task ':app:processFenixBenchmarkResources'.
[task 2025-04-15T04:07:17.428Z] > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
[task 2025-04-15T04:07:17.428Z] > Android resource linking failed
[task 2025-04-15T04:07:17.428Z] ERROR: /builds/worker/checkouts/gecko/mobile/android/fenix/app/src/main/res/mipmap-anydpi-v26/ic_launcher_solid_dark.xml:8: AAPT: error: resource color/ic_launcher_solid_dark_background (aka org.mozilla.fenix:color/ic_launcher_solid_dark_background) not found.
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z] ERROR: /builds/worker/checkouts/gecko/mobile/android/fenix/app/src/main/res/mipmap-anydpi-v26/ic_launcher_solid_light.xml:8: AAPT: error: resource color/ic_launcher_solid_light_background (aka org.mozilla.fenix:color/ic_launcher_solid_light_background) not found.
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z] * Try:
[task 2025-04-15T04:07:17.428Z] > Run with --stacktrace option to get the stack trace.
[task 2025-04-15T04:07:17.428Z] > Run with --info or --debug option to get more log output.
[task 2025-04-15T04:07:17.428Z] > Run with --scan to get full insights.
[task 2025-04-15T04:07:17.428Z] > Get more help at https://help.gradle.org.
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z] For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2025-04-15T04:07:17.428Z]
[task 2025-04-15T04:07:17.428Z] BUILD FAILED in 8m 17s
Flags: needinfo?(mavduevskiy)
Pushed by mavduevskiy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c122809bd135
Part 1: Adding app icons with solid background for icon picker screen r=android-reviewers,gmalekpour,twhite
https://hg.mozilla.org/integration/autoland/rev/4c5c949773ff
Part 2: Adding app icons with gradient background for icon picker screen r=android-reviewers,gmalekpour,twhite
https://hg.mozilla.org/integration/autoland/rev/f3f64220738e
Part 3: Adding app icons with alternative foreground for icon picker screen r=android-reviewers,gmalekpour,twhite
Comment 7•7 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c122809bd135
https://hg.mozilla.org/mozilla-central/rev/4c5c949773ff
https://hg.mozilla.org/mozilla-central/rev/f3f64220738e
Status: NEW → RESOLVED
Closed: 7 months ago
status-firefox139:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
| Assignee | ||
Updated•5 months ago
|
Flags: needinfo?(mavduevskiy)
You need to log in
before you can comment on or make changes to this bug.
Description
•