From 4d70cc87c75fca08d691b3cdfa0343c3da5710be Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 5 Nov 2026 09:27:12 +0100 Subject: feat(app): replace the launcher icon with a HardenedPass one The launcher still showed Password Store's icon. The new one is a shield shaped lock with a git branch cut through it, steel with an ember shackle on a dark tile. The cut is transparent, so the foreground also works without a tile on the welcome screen and in the autofill picker. The monochrome layer is the same figure. Debug builds now override only the background, in violet, and share the foreground. The density PNGs go: minSdk 26 always uses the adaptive icon. The Play Store PNGs were unused. Two lint baseline entries for those PNGs go with them. The old Play Store banner, referenced nowhere, becomes media/banner.png with the new icon and name, and heads the README. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 + TODO.md | 2 - app/lint-baseline.xml | 14 ----- app/src/debug/ic_launcher-playstore.png | Bin 20129 -> 0 bytes .../debug/res/drawable/ic_launcher_background.xml | 2 +- .../debug/res/drawable/ic_launcher_foreground.xml | 63 --------------------- app/src/debug/res/mipmap-anydpi/ic_launcher.xml | 10 ---- app/src/debug/res/mipmap-hdpi/ic_launcher.png | Bin 4212 -> 0 bytes app/src/debug/res/mipmap-mdpi/ic_launcher.png | Bin 2635 -> 0 bytes app/src/debug/res/mipmap-xhdpi/ic_launcher.png | Bin 5946 -> 0 bytes app/src/debug/res/mipmap-xxhdpi/ic_launcher.png | Bin 9368 -> 0 bytes app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png | Bin 13251 -> 0 bytes app/src/main/ic_launcher-playstore.png | Bin 20843 -> 0 bytes .../main/res/drawable/ic_launcher_background.xml | 2 +- .../main/res/drawable/ic_launcher_foreground.xml | 61 +++----------------- .../drawable/ic_launcher_foreground_monochrome.xml | 20 ++++--- app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 4260 -> 0 bytes app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2670 -> 0 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 5999 -> 0 bytes app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 9402 -> 0 bytes app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 13343 -> 0 bytes media/banner.png | Bin 0 -> 47050 bytes media/play_store_banner.png | Bin 373934 -> 0 bytes 23 files changed, 24 insertions(+), 152 deletions(-) delete mode 100644 app/src/debug/ic_launcher-playstore.png delete mode 100644 app/src/debug/res/drawable/ic_launcher_foreground.xml delete mode 100644 app/src/debug/res/mipmap-anydpi/ic_launcher.xml delete mode 100644 app/src/debug/res/mipmap-hdpi/ic_launcher.png delete mode 100644 app/src/debug/res/mipmap-mdpi/ic_launcher.png delete mode 100644 app/src/debug/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 app/src/debug/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 app/src/main/ic_launcher-playstore.png delete mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 media/banner.png delete mode 100644 media/play_store_banner.png diff --git a/README.md b/README.md index e38ecf5f..1d615a9d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # HardenedPass +![HardenedPass](media/banner.png) + An Android client for [pass](https://www.passwordstore.org/), the standard Unix password manager. Passwords are stored as OpenPGP-encrypted files in a git repository, so the same store works with `pass` on the desktop and with this app on the phone. HardenedPass aims to work flawlessly on diff --git a/TODO.md b/TODO.md index 4b105542..2dd6f365 100644 --- a/TODO.md +++ b/TODO.md @@ -4,8 +4,6 @@ Open work after 0.2.0. Remove an item in the commit that finishes it. ## Features and UI -- Icon overhaul: the launcher icon is still Password Store's. Design a HardenedPass icon - (adaptive icon, monochrome layer for themed icons) and replace it everywhere it appears. - Git dialogs to Compose: the git operations' View dialogs (`BaseGitActivity`, `GitOperation`, `CredentialFinder`, `BreakOutOfDetached`, `StoreActions`) and the `snackbar` helper still use Material Components (Views). Moving them lets that dependency go. diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index f77d22dd..6dba677d 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -84,20 +84,6 @@ column="3"/> - - - - - - - - diff --git a/app/src/debug/res/drawable/ic_launcher_foreground.xml b/app/src/debug/res/drawable/ic_launcher_foreground.xml deleted file mode 100644 index 2cdef53f..00000000 --- a/app/src/debug/res/drawable/ic_launcher_foreground.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/debug/res/mipmap-anydpi/ic_launcher.xml b/app/src/debug/res/mipmap-anydpi/ic_launcher.xml deleted file mode 100644 index 22bd3428..00000000 --- a/app/src/debug/res/mipmap-anydpi/ic_launcher.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/app/src/debug/res/mipmap-hdpi/ic_launcher.png b/app/src/debug/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index a3b28da5..00000000 Binary files a/app/src/debug/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/debug/res/mipmap-mdpi/ic_launcher.png b/app/src/debug/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 0be8ba3c..00000000 Binary files a/app/src/debug/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/debug/res/mipmap-xhdpi/ic_launcher.png b/app/src/debug/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 02a4af49..00000000 Binary files a/app/src/debug/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png b/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 9d32c97c..00000000 Binary files a/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index d7d4ef18..00000000 Binary files a/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/main/ic_launcher-playstore.png b/app/src/main/ic_launcher-playstore.png deleted file mode 100644 index 8de23a46..00000000 Binary files a/app/src/main/ic_launcher-playstore.png and /dev/null differ diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml index e83fc4a3..cd894791 100644 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -9,6 +9,6 @@ android:viewportWidth="432" android:viewportHeight="432"> diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml index 550a5531..04ef7ff9 100644 --- a/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -1,63 +1,18 @@ - - - - - - - - - - - - - - - - + android:viewportWidth="108" + android:viewportHeight="108"> + android:fillColor="#FF7A45" + android:pathData="M39,42V36a15,15 0 0 1 30,0v6h-6V36a9,9 0 0 0 -18,0v6Z" /> - - - - + android:fillColor="#B8C4CF" + android:fillType="evenOdd" + android:pathData="M32,40H76V58C76,71 66,80 54,86C42,80 32,71 32,58ZM61.800,54.233L61.800,67.767A4.6,4.6 0 1 1 58.200,67.767L58.200,58.102L50.568,62.463A4.6,4.6 0 1 1 48.782,59.337L57.932,54.109A4.6,4.6 0 1 1 61.800,54.233Z" /> diff --git a/app/src/main/res/drawable/ic_launcher_foreground_monochrome.xml b/app/src/main/res/drawable/ic_launcher_foreground_monochrome.xml index 74af9a81..ce263547 100644 --- a/app/src/main/res/drawable/ic_launcher_foreground_monochrome.xml +++ b/app/src/main/res/drawable/ic_launcher_foreground_monochrome.xml @@ -1,14 +1,18 @@ - - + android:height="108dp" + android:viewportWidth="108" + android:viewportHeight="108"> + + android:fillColor="#FFFFFF" + android:fillType="evenOdd" + android:pathData="M32,40H76V58C76,71 66,80 54,86C42,80 32,71 32,58ZM61.800,54.233L61.800,67.767A4.6,4.6 0 1 1 58.200,67.767L58.200,58.102L50.568,62.463A4.6,4.6 0 1 1 48.782,59.337L57.932,54.109A4.6,4.6 0 1 1 61.800,54.233Z" /> diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index a1133420..00000000 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index b9e28b18..00000000 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 353fe9c4..00000000 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 148db12b..00000000 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 2c1e2b05..00000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/media/banner.png b/media/banner.png new file mode 100644 index 00000000..68d1770d Binary files /dev/null and b/media/banner.png differ diff --git a/media/play_store_banner.png b/media/play_store_banner.png deleted file mode 100644 index 9586c075..00000000 Binary files a/media/play_store_banner.png and /dev/null differ -- cgit v1.2.3