aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-02 21:39:54 +0100
committerDanilo M. <danix@danix.xyz>2026-11-02 21:39:54 +0100
commitbcd2d061288004020cc437694dbf4218abc52c89 (patch)
tree7ee8561ba881d6a93f4629e2a30a0d3c68235c2b /app/src/main/res/layout
parent815f18752f99fb8cc7f57401eafaef20d9c59ca5 (diff)
downloadHardenedPass-bcd2d061288004020cc437694dbf4218abc52c89.tar.gz
HardenedPass-bcd2d061288004020cc437694dbf4218abc52c89.zip
refactor(app): remove the legacy PasswordStore list
The Compose list replaces it. The autofill inline suggestion's attribution intent now opens LaunchActivity, behind the biometric gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_pwdstore.xml19
-rw-r--r--app/src/main/res/layout/folder_dialog_fragment.xml38
-rw-r--r--app/src/main/res/layout/item_create_sheet.xml42
-rw-r--r--app/src/main/res/layout/password_recycler_view.xml3
4 files changed, 1 insertions, 101 deletions
diff --git a/app/src/main/res/layout/activity_pwdstore.xml b/app/src/main/res/layout/activity_pwdstore.xml
deleted file mode 100644
index 295efd9c..00000000
--- a/app/src/main/res/layout/activity_pwdstore.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<!--
- ~ Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
- ~ SPDX-License-Identifier: GPL-3.0-only
- -->
-
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context=".PasswordStore">
-
- <LinearLayout
- android:id="@+id/main_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" />
-
-</LinearLayout>
diff --git a/app/src/main/res/layout/folder_dialog_fragment.xml b/app/src/main/res/layout/folder_dialog_fragment.xml
deleted file mode 100644
index 7860c9b4..00000000
--- a/app/src/main/res/layout/folder_dialog_fragment.xml
+++ /dev/null
@@ -1,38 +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
- -->
-
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="16dp">
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/folder_name_container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/crypto_name_hint"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/folder_name_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textNoSuggestions|textVisiblePassword" />
- <requestFocus />
- </com.google.android.material.textfield.TextInputLayout>
-
- <!-- TODO(msfjarvis): Restore this functionality -->
- <com.google.android.material.checkbox.MaterialCheckBox
- android:id="@+id/set_gpg_key"
- android:layout_width="0dp"
- android:visibility="gone"
- android:layout_height="wrap_content"
- android:text="@string/new_folder_set_gpg_key"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@id/folder_name_container" />
-</androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/app/src/main/res/layout/item_create_sheet.xml b/app/src/main/res/layout/item_create_sheet.xml
deleted file mode 100644
index 10882a00..00000000
--- a/app/src/main/res/layout/item_create_sheet.xml
+++ /dev/null
@@ -1,42 +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
- -->
-
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <com.google.android.material.button.MaterialButton
- android:id="@+id/create_folder"
- style="@style/Widget.MaterialComponents.Button.TextButton"
- android:layout_width="match_parent"
- android:layout_height="@dimen/bottom_sheet_item_height"
- android:layout_margin="@dimen/normal_margin"
- android:text="@string/bottom_sheet_create_new_folder"
- android:textAlignment="viewStart"
- android:textColor="?attr/colorOnSurface"
- app:icon="@drawable/ic_action_new_folder"
- app:iconPadding="@dimen/normal_margin"
- app:iconTint="?attr/colorSecondary"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:rippleColor="?attr/colorSecondary" />
-
- <com.google.android.material.button.MaterialButton
- android:id="@+id/create_password"
- style="@style/Widget.MaterialComponents.Button.TextButton"
- android:layout_width="match_parent"
- android:layout_height="@dimen/bottom_sheet_item_height"
- android:layout_margin="@dimen/normal_margin"
- android:text="@string/bottom_sheet_create_new_password"
- android:textAlignment="viewStart"
- android:textColor="?attr/colorOnSurface"
- app:icon="@drawable/ic_action_new_password"
- app:iconPadding="@dimen/normal_margin"
- app:iconTint="?attr/colorSecondary"
- app:layout_constraintTop_toBottomOf="@id/create_folder"
- app:rippleColor="?attr/colorSecondary" />
-
-</androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/app/src/main/res/layout/password_recycler_view.xml b/app/src/main/res/layout/password_recycler_view.xml
index 49b7ff82..c2b5114f 100644
--- a/app/src/main/res/layout/password_recycler_view.xml
+++ b/app/src/main/res/layout/password_recycler_view.xml
@@ -9,8 +9,7 @@
android:layout_height="match_parent"
android:clipChildren="false"
android:clipToPadding="false"
- android:orientation="vertical"
- tools:context="app.passwordstore.ui.passwords.PasswordFragment">
+ android:orientation="vertical">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swipe_refresher"