aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-04 18:51:35 +0100
committerDanilo M. <danix@danix.xyz>2026-11-04 18:51:35 +0100
commitba2a60a14717fd7c82cd2c4b1778673d1bb6388f (patch)
tree45fc389cbafedcfef0f88ae8b7e789af39690c84 /app/src/main/res/menu
parent0ad0b1ca6a7f7fa814a92dd6eaf9da88948ee377 (diff)
parent136ee43d6080da288afae8ec133727962ea60640 (diff)
downloadHardenedPass-ba2a60a14717fd7c82cd2c4b1778673d1bb6388f.tar.gz
HardenedPass-ba2a60a14717fd7c82cd2c4b1778673d1bb6388f.zip
Merge branch 'compose': Compose UI overhaul
Every screen moves from XML layouts, Views and Fragments to Jetpack Compose with Material 3, in one MainActivity with a NavHost: the list with breadcrumbs, search, pull to sync and multi-select; the entry view with OTP countdown; the editor with generator sheet and folder picker; setup (welcome, git server and clone, SSH key, PGP keys); settings, git config, commit log and proxy; and the autofill picker, publisher warning and decryption prompts. LaunchActivity stays the only exported activity. Fixes found on the way reach master with it, among them symlink-safe deletes, the proxy user name, screen lock gated switches, the Android 14 app lock and screen lock prompts, and the autofill passphrase cache rule. The View-era dependencies and view binding are gone; Material Components (Views) stays for the git dialogs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/context_pass.xml34
-rw-r--r--app/src/main/res/menu/main_menu_git.xml36
-rw-r--r--app/src/main/res/menu/main_menu_no_auth.xml28
-rw-r--r--app/src/main/res/menu/main_menu_non_git.xml24
-rw-r--r--app/src/main/res/menu/pgp_handler.xml28
-rw-r--r--app/src/main/res/menu/pgp_handler_new_password.xml20
-rw-r--r--app/src/main/res/menu/pgp_handler_select_folder.xml15
7 files changed, 0 insertions, 185 deletions
diff --git a/app/src/main/res/menu/context_pass.xml b/app/src/main/res/menu/context_pass.xml
deleted file mode 100644
index 608d7eef..00000000
--- a/app/src/main/res/menu/context_pass.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- tools:context=".pwdstore">
-
- <item
- android:id="@+id/menu_move_password"
- android:icon="@drawable/ic_move_folder_24dp"
- android:title="@string/move"
- app:showAsAction="ifRoom" />
-
- <item
- android:id="@+id/menu_delete_password"
- android:icon="@drawable/ic_delete_24dp"
- android:title="@string/delete"
- app:showAsAction="ifRoom" />
-
- <item
- android:id="@+id/menu_edit_password"
- android:icon="@drawable/ic_edit_24dp"
- android:title="@string/edit"
- app:showAsAction="ifRoom" />
-
- <item
- android:id="@+id/menu_pin_password"
- android:icon="@drawable/ic_push_pin_24dp"
- android:title="@string/place_shortcut_on_home_screen"
- app:showAsAction="ifRoom" />
-</menu>
diff --git a/app/src/main/res/menu/main_menu_git.xml b/app/src/main/res/menu/main_menu_git.xml
deleted file mode 100644
index 1b64c083..00000000
--- a/app/src/main/res/menu/main_menu_git.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
-
- <item
- android:id="@+id/action_search"
- android:icon="@drawable/ic_search_24dp"
- android:title="@string/action_search"
- app:actionViewClass="androidx.appcompat.widget.SearchView"
- app:showAsAction="always|collapseActionView" />
-
- <item
- android:id="@+id/git_sync"
- android:title="@string/git_sync" />
-
- <item
- android:id="@+id/git_pull"
- android:title="@string/git_pull" />
-
- <item
- android:id="@+id/git_push"
- android:title="@string/git_push" />
-
- <item
- android:id="@+id/refresh"
- android:title="@string/refresh_list" />
-
- <item
- android:id="@+id/user_pref"
- android:orderInCategory="100"
- android:title="@string/action_settings" />
-</menu>
diff --git a/app/src/main/res/menu/main_menu_no_auth.xml b/app/src/main/res/menu/main_menu_no_auth.xml
deleted file mode 100644
index 46f19e49..00000000
--- a/app/src/main/res/menu/main_menu_no_auth.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
-
- <item
- android:id="@+id/action_search"
- android:icon="@drawable/ic_search_24dp"
- android:title="@string/action_search"
- app:actionViewClass="androidx.appcompat.widget.SearchView"
- app:showAsAction="always|collapseActionView" />
-
- <item
- android:id="@+id/git_pull"
- android:title="@string/git_pull" />
-
- <item
- android:id="@+id/refresh"
- android:title="@string/refresh_list" />
-
- <item
- android:id="@+id/user_pref"
- android:orderInCategory="100"
- android:title="@string/action_settings" />
-</menu>
diff --git a/app/src/main/res/menu/main_menu_non_git.xml b/app/src/main/res/menu/main_menu_non_git.xml
deleted file mode 100644
index 5a7cf00b..00000000
--- a/app/src/main/res/menu/main_menu_non_git.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
-
- <item
- android:id="@+id/action_search"
- android:icon="@drawable/ic_search_24dp"
- android:title="@string/action_search"
- app:actionViewClass="androidx.appcompat.widget.SearchView"
- app:showAsAction="always|collapseActionView" />
-
- <item
- android:id="@+id/refresh"
- android:title="@string/refresh_list" />
-
- <item
- android:id="@+id/user_pref"
- android:orderInCategory="100"
- android:title="@string/action_settings" />
-</menu>
diff --git a/app/src/main/res/menu/pgp_handler.xml b/app/src/main/res/menu/pgp_handler.xml
deleted file mode 100644
index a8b6a524..00000000
--- a/app/src/main/res/menu/pgp_handler.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:pwstore="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- tools:context=".ui.crypto.PgpActivity">
- <item
- android:id="@+id/share_password_as_plaintext"
- android:icon="@drawable/ic_share_24dp"
- android:title="@string/share_as_plaintext"
- android:visible="false"
- pwstore:showAsAction="ifRoom" />
- <item
- android:id="@+id/copy_password"
- android:icon="@drawable/ic_content_copy"
- android:title="@string/copy_password"
- android:visible="false"
- pwstore:showAsAction="ifRoom" />
- <item
- android:id="@+id/edit_password"
- android:icon="@drawable/ic_edit_24dp"
- android:title="@string/edit_password"
- android:visible="false"
- pwstore:showAsAction="ifRoom" />
-</menu>
diff --git a/app/src/main/res/menu/pgp_handler_new_password.xml b/app/src/main/res/menu/pgp_handler_new_password.xml
deleted file mode 100644
index 6c61fb55..00000000
--- a/app/src/main/res/menu/pgp_handler_new_password.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:pwstore="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- tools:context=".ui.crypto.PgpActivity">
- <item
- android:id="@+id/save_password"
- android:icon="@drawable/ic_save_24dp"
- android:title="@string/crypto_save"
- pwstore:showAsAction="ifRoom" />
- <item
- android:id="@+id/save_and_copy_password"
- android:icon="@drawable/ic_save_copy_24dp"
- android:title="@string/crypto_save_and_copy"
- pwstore:showAsAction="ifRoom" />
-</menu>
diff --git a/app/src/main/res/menu/pgp_handler_select_folder.xml b/app/src/main/res/menu/pgp_handler_select_folder.xml
deleted file mode 100644
index d9505814..00000000
--- a/app/src/main/res/menu/pgp_handler_select_folder.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?><!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:pwstore="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- tools:context="app.passwordstore.SelectFolderActivity">
- <item
- android:id="@+id/crypto_select"
- android:icon="@drawable/ic_done_24dp"
- android:title="@string/crypto_select"
- pwstore:showAsAction="ifRoom" />
-</menu>