aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/otp_confirm_layout.xml
diff options
context:
space:
mode:
authorJoel Beckmeyer <joel@thebeckmeyers.xyz>2018-09-25 13:45:54 -0400
committerحسين <zidhussein@gmail.com>2018-09-25 18:45:54 +0100
commiteea0e68dda1eb7248c6d458f52baeedb318b466a (patch)
tree73ff2b2f121b8db3097671f0e0639906edc2abea /app/src/main/res/layout/otp_confirm_layout.xml
parentac889abdd3d71ffb7f064a384c375ec22e7734c4 (diff)
downloadHardenedPass-eea0e68dda1eb7248c6d458f52baeedb318b466a.tar.gz
HardenedPass-eea0e68dda1eb7248c6d458f52baeedb318b466a.zip
Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code (#413)
* Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code * Add ability to show HOTP instead of showing every decrypt * Fix off by 1 error * fix return intent logic so that edits and HOTP increments are properly committed * fix linting errors * Fix broken logic for case when a password is created * add ability to choose if password entry will be updated on HOTP code calculation
Diffstat (limited to 'app/src/main/res/layout/otp_confirm_layout.xml')
-rw-r--r--app/src/main/res/layout/otp_confirm_layout.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/src/main/res/layout/otp_confirm_layout.xml b/app/src/main/res/layout/otp_confirm_layout.xml
new file mode 100644
index 00000000..d2cb597e
--- /dev/null
+++ b/app/src/main/res/layout/otp_confirm_layout.xml
@@ -0,0 +1,21 @@
+<?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:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <CheckBox
+ android:id="@+id/hotp_remember_checkbox"
+ 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="@string/dialog_update_check"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+</android.support.constraint.ConstraintLayout> \ No newline at end of file