aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-05-28 22:42:13 +0530
committerGitHub <noreply@github.com>2020-05-28 22:42:13 +0530
commite7463ec24c929860f0a7311b558f496919d54d20 (patch)
treeeb460f7e49e1a71acaceaec305e511bb4c0a9d45 /app/src/main/res/layout
parentffcbabc2f4ef9766271be5335cec1869fe634646 (diff)
Remove HOTP/TOTP support (#806)
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/decrypt_layout.xml43
-rw-r--r--app/src/main/res/layout/otp_confirm_layout.xml23
2 files changed, 2 insertions, 64 deletions
diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml
index c9f3f922..932eefd6 100644
--- a/app/src/main/res/layout/decrypt_layout.xml
+++ b/app/src/main/res/layout/decrypt_layout.xml
@@ -160,56 +160,17 @@
app:layout_constraintTop_toBottomOf="@id/crypto_username_show_label"
tools:visibility="visible" />
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/crypto_copy_otp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/crypto_username_show"
- android:layout_alignParentEnd="true"
- android:background="?android:attr/windowBackground"
- android:contentDescription="@string/copy_otp"
- android:src="@drawable/ic_content_copy"
- android:visibility="invisible"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="@id/crypto_otp_show_label"
- tools:visibility="visible" />
-
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/crypto_otp_show_label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/crypto_username_show"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@id/crypto_copy_otp"
- android:text="@string/otp"
- android:textColor="?android:attr/textColor"
- android:textStyle="bold"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/crypto_username_show" />
-
- <androidx.appcompat.widget.AppCompatTextView
- android:id="@+id/crypto_otp_show"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/crypto_otp_show_label"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@id/crypto_copy_otp"
- android:textColor="?android:attr/textColor"
- android:textIsSelectable="true"
- android:typeface="monospace"
- app:layout_constraintTop_toBottomOf="@id/crypto_otp_show_label" />
-
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/crypto_extra_show_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_below="@id/crypto_otp_show"
+ android:layout_below="@id/crypto_username_show"
android:layout_alignParentStart="true"
android:text="@string/extra_content"
android:textColor="?android:attr/textColor"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/crypto_otp_show" />
+ app:layout_constraintTop_toBottomOf="@id/crypto_username_show" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/crypto_extra_show"
diff --git a/app/src/main/res/layout/otp_confirm_layout.xml b/app/src/main/res/layout/otp_confirm_layout.xml
deleted file mode 100644
index 7db7b105..00000000
--- a/app/src/main/res/layout/otp_confirm_layout.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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">
-
- <CheckBox
- android:id="@+id/hotp_remember_checkbox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="16dp"
- android:text="@string/dialog_update_check"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
-</androidx.constraintlayout.widget.ConstraintLayout>