aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/fragment_manual_otp_entry.xml
blob: 7d7ea832990cb9ff4c7f6e5ceac2fc4c5b6327ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?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.textfield.TextInputLayout
    android:id="@+id/secret_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="@string/otp_import_manual_hint_secret"
    android:paddingStart="16dp"
    android:paddingTop="16dp"
    android:paddingEnd="16dp"
    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/secret"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:inputType="textPassword" />

    <requestFocus />

  </com.google.android.material.textfield.TextInputLayout>

  <com.google.android.material.textfield.TextInputLayout
    android:id="@+id/account_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="@string/otp_import_manual_hint_account"
    android:paddingStart="16dp"
    android:paddingTop="16dp"
    android:paddingEnd="16dp"
    android:paddingBottom="16dp"
    app:hintEnabled="true"
    app:layout_constraintTop_toBottomOf="@id/secret_layout">

    <com.google.android.material.textfield.TextInputEditText
      android:id="@+id/account"
      android:layout_width="match_parent"
      android:layout_height="match_parent" />

  </com.google.android.material.textfield.TextInputLayout>

</androidx.constraintlayout.widget.ConstraintLayout>