aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/git_credential_layout.xml
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-05-30 19:39:17 +0200
committerGitHub <noreply@github.com>2020-05-30 19:39:17 +0200
commit2428d4c0deb5d088112ed10391932acf325e84d5 (patch)
tree692b15264e45ea4cb59b7d45dfa47edd7d4af033 /app/src/main/res/layout/git_credential_layout.xml
parent72ede314ef02dfc255b3a28b3540e6fef10da9ac (diff)
downloadHardenedPass-2428d4c0deb5d088112ed10391932acf325e84d5.tar.gz
HardenedPass-2428d4c0deb5d088112ed10391932acf325e84d5.zip
Switch password authentication over to SSHJ (#811)
* Switch password authentication over to SSHJ * Address review comments and refactor further
Diffstat (limited to 'app/src/main/res/layout/git_credential_layout.xml')
-rw-r--r--app/src/main/res/layout/git_credential_layout.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/src/main/res/layout/git_credential_layout.xml b/app/src/main/res/layout/git_credential_layout.xml
new file mode 100644
index 00000000..511a9f8f
--- /dev/null
+++ b/app/src/main/res/layout/git_credential_layout.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2014-2020 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:padding="16dp">
+
+ <com.google.android.material.textfield.TextInputLayout
+ android:id="@+id/git_auth_passphrase_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:hintEnabled="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/git_auth_credential"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/ssh_keygen_passphrase"
+ android:inputType="textPassword" />
+ </com.google.android.material.textfield.TextInputLayout>
+
+ <com.google.android.material.checkbox.MaterialCheckBox
+ android:id="@+id/git_auth_remember_credential"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/git_operation_remember_passphrase"
+ app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/git_auth_passphrase_layout" />
+</androidx.constraintlayout.widget.ConstraintLayout>