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">Chuyển ra sau</string>
<string name="apps_widget_configure">Cài đặt tiện ích</string>
<string name="apps_widget_remove">Xóa tiện ích</string>
<string name="apps_appearance">Giao diện</string>
<string name="apps_icon_pack">Gói biểu tượng</string>
<string name="apps_icon_pack_system">Theo hệ thống</string>
<string name="apps_icon_app_colors">Nền theo màu ứng dụng</string>
<string name="apps_icon_size">Kích thước biểu tượng</string>
<string name="apps_icon_small">Nhỏ</string>
<string name="apps_icon_medium">Vừa</string>
<string name="apps_icon_large">Lớn</string>
<string name="apps_hide_names">Ẩn tên ứng dụng</string>
<string name="apps_spacing">Khoảng cách</string>
<string name="apps_spacing_tight">Hẹp</string>
<string name="apps_spacing_normal">Vừa</string>
<string name="apps_spacing_roomy">Rộng</string>
<string name="apps_change_icon">Đổi biểu tượng</string>
<string name="apps_reset_icon">Đặt lại biểu tượng</string>
<string name="apps_icons_search">Tìm biểu tượng</string>
<string name="apps_icons_loading">Đang tải biểu tượng…</string>
<string name="apps_icons_none">Không tìm thấy biểu tượng.</string>
<string name="apps_icons_custom">Biểu tượng tùy chỉnh</string>
<string name="apps_add_to_folder">Thêm vào thư mục</string>
<string name="apps_new_folder">Thư mục mới</string>
<string name="apps_remove_from_folder">Xóa khỏi thư mục</string>