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">後ろへ移動</string>
<string name="apps_widget_configure">ウィジェットの設定</string>
<string name="apps_widget_remove">ウィジェットを削除</string>
<string name="apps_appearance">外観</string>
<string name="apps_icon_pack">アイコンパック</string>
<string name="apps_icon_pack_system">システムのデフォルト</string>
<string name="apps_icon_app_colors">アプリの色を背景に使用</string>
<string name="apps_icon_size">アイコンサイズ</string>
<string name="apps_icon_small">小</string>
<string name="apps_icon_medium">中</string>
<string name="apps_icon_large">大</string>
<string name="apps_hide_names">アプリ名を非表示</string>
<string name="apps_spacing">間隔</string>
<string name="apps_spacing_tight">狭い</string>
<string name="apps_spacing_normal">標準</string>
<string name="apps_spacing_roomy">広い</string>
<string name="apps_change_icon">アイコンを変更</string>
<string name="apps_reset_icon">アイコンをリセット</string>
<string name="apps_icons_search">アイコンを検索</string>
<string name="apps_icons_loading">アイコンを読み込み中…</string>
<string name="apps_icons_none">アイコンが見つかりません。</string>
<string name="apps_icons_custom">カスタムアイコン</string>
<string name="apps_add_to_folder">フォルダに追加</string>
<string name="apps_new_folder">新しいフォルダ</string>
<string name="apps_remove_from_folder">フォルダから削除</string>