feat(apps): add icon packs, per-app icons and an Appearance panel (#2207)

* feat(apps): add an Appearance panel to the Apps page

A Palette button in the Apps header opens a panel for icon size, spacing and
hiding app names.

* feat(apps): support icon packs and per-app icons

The Appearance panel gains an Icon pack choice. Packs are found through the
ADW and Nova theme intents and must ship an appfilter.xml in res/xml, res/raw
or assets. Work profile apps keep their badge.

Apps a pack does not cover are drawn on its iconback, iconmask, iconupon and
scale tags when it has them, and keep their system icon otherwise. For packs
with an iconback, App color background paints that plate in each app's main
color instead of the pack's own.

With a pack selected, an app's long-press menu offers Change icon, which
opens a searchable picker listing icons that match the app first. Reset icon
removes one choice, and Reset in the panel removes them all.

Calendar apps use the pack's icon for today's date.

* feat(apps): translate the Appearance panel and icon strings

Adds the 19 new strings to all 32 languages, reusing each language's existing
wording where it has one. Icon size and spacing labels are kept short to fit
the panel's tabs.

* fix(apps): finish loading custom icons before marking them loaded

Two app list refreshes can start together on resume. The second one could
see the overrides as loaded before the first had read them, and build the
list without custom icons.
This commit is contained in:
measlesbagel authored and GitHub committed 2026-11-12 12:57:12 -05:00
1 parent dacfee64ab
commit b1b6ab7931
47 files changed
+1475 -23

No files matched your search

+19
View File
@@ -3516,6 +3516,25 @@
<string name="apps_widget_move_later">Alih ke belakang</string>
<string name="apps_widget_configure">Tetapan widget</string>
<string name="apps_widget_remove">Alih keluar widget</string>
<string name="apps_appearance">Rupa</string>
<string name="apps_icon_pack">Pek ikon</string>
<string name="apps_icon_pack_system">Lalai sistem</string>
<string name="apps_icon_app_colors">Latar warna apl</string>
<string name="apps_icon_size">Saiz ikon</string>
<string name="apps_icon_small">Kecil</string>
<string name="apps_icon_medium">Sedang</string>
<string name="apps_icon_large">Besar</string>
<string name="apps_hide_names">Sembunyikan nama apl</string>
<string name="apps_spacing">Jarak</string>
<string name="apps_spacing_tight">Rapat</string>
<string name="apps_spacing_normal">Biasa</string>
<string name="apps_spacing_roomy">Luas</string>
<string name="apps_change_icon">Tukar ikon</string>
<string name="apps_reset_icon">Set semula ikon</string>
<string name="apps_icons_search">Cari ikon</string>
<string name="apps_icons_loading">Memuatkan ikon…</string>
<string name="apps_icons_none">Tiada ikon ditemui.</string>
<string name="apps_icons_custom">Ikon tersuai</string>
<string name="apps_add_to_folder">Tambah pada folder</string>
<string name="apps_new_folder">Folder baharu</string>
<string name="apps_remove_from_folder">Alih keluar daripada folder</string>