diff options
| author | zeapo <mohamed@zenadi.com> | 2017-08-10 15:13:58 +0200 |
|---|---|---|
| committer | zeapo <mohamed@zenadi.com> | 2017-08-10 15:13:58 +0200 |
| commit | bf1b67ea6a255866be9765f3096c91e2236f2eaf (patch) | |
| tree | c77c56290463e3d549d4fa9eef86d1e97e6ba312 /app/src/main/res/layout | |
| parent | 24a77b90284ee6a0832245c7f8d1d432b9db3710 (diff) | |
| download | HardenedPass-bf1b67ea6a255866be9765f3096c91e2236f2eaf.tar.gz HardenedPass-bf1b67ea6a255866be9765f3096c91e2236f2eaf.zip | |
add remember passphrase and clearing it from settings
Diffstat (limited to 'app/src/main/res/layout')
| -rw-r--r-- | app/src/main/res/layout/git_passphrase_layout.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app/src/main/res/layout/git_passphrase_layout.xml b/app/src/main/res/layout/git_passphrase_layout.xml new file mode 100644 index 00000000..d82a0b55 --- /dev/null +++ b/app/src/main/res/layout/git_passphrase_layout.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.constraint.ConstraintLayout 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" + android:id="@+id/linearLayout" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <EditText + android:id="@+id/sshkey_passphrase" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:layout_marginStart="16dp" + android:layout_marginTop="8dp" + android:ems="10" + android:inputType="textPassword" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <CheckBox + android:id="@+id/sshkey_remember_passphrase" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:layout_marginRight="16dp" + android:layout_marginStart="16dp" + android:layout_marginTop="8dp" + android:text="Remember until the application is closed" + app:layout_constraintRight_toRightOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/sshkey_passphrase" /> +</android.support.constraint.ConstraintLayout>
\ No newline at end of file |
