dialog_pin.xml 1.74 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
              tools:context=".activity.PinActivity"
              android:layout_width="match_parent"
              android:paddingLeft="@dimen/dialog_horizontal_margin"
              android:paddingRight="@dimen/dialog_horizontal_margin"
              android:paddingTop="@dimen/dialog_vertical_margin"
              android:paddingBottom="@dimen/dialog_vertical_margin"
              android:layout_height="match_parent">

14
    <com.google.android.material.textfield.TextInputLayout
15
            android:layout_width="match_parent"
16
17
            android:id="@+id/pinInputTil"
            app:errorEnabled="true"
18
            android:layout_marginTop="10dp"
19
20
21
            android:textColorHint="?attr/foregroundElementColor"
            android:hint="@string/dialog_pin_hint"
            android:layout_height="wrap_content">
22

23
        <com.google.android.material.textfield.TextInputEditText
24
                android:layout_width="match_parent"
25
                android:id="@+id/pinInput"
26
                android:inputType="numberPassword"
27
28
                android:layout_height="wrap_content"/>
    </com.google.android.material.textfield.TextInputLayout>
29
30
31
32
33
34
35
36
37

    <androidx.appcompat.widget.AppCompatImageView
            android:id="@+id/fingerprintImage"
            android:layout_width="48dp"
            app:srcCompat="@drawable/ic_fingerprint"
            android:layout_height="48dp"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="10dp"/>
</LinearLayout>