Revision control

Copy as Markdown

<?xml version="1.0" encoding="utf-8"?><!--
~ This Source Code Form is subject to the terms of the Mozilla Public
~ License, v. 2.0. If a copy of the MPL was not distributed with this
~ file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="32dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout"
android:layout_width="305dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:background="@drawable/rounded_corner_bg_white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="parent">
<TextView
android:id="@+id/dialogTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="52dp"
android:layout_marginTop="44dp"
android:layout_marginEnd="51dp"
android:fontFamily="sans-serif"
android:lineSpacingExtra="8.5sp"
android:text="@string/fingerprint_dialog_title"
android:textColor="@color/text_ink"
android:textSize="17sp"
android:textStyle="normal"
app:layout_constraintBottom_toTopOf="@+id/dialogSubtitle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialogSubtitle"
app:srcCompat="@drawable/ic_fingerprint"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/fingerprintStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
android:fontFamily="sans-serif"
android:lineSpacingExtra="6.5sp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:text="@string/touch_fingerprint_sensor"
android:textColor="@color/gray_73_percent"
android:textSize="13sp"
android:textStyle="normal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView" />
<Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="26dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="18dp"
android:background="@android:color/transparent"
android:fontFamily="sans-serif-medium"
android:letterSpacing="0.09"
android:lineSpacingExtra="2sp"
android:text="@string/cancel"
android:textAllCaps="true"
android:textColor="@color/violet_70"
android:textSize="14sp"
android:textStyle="normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/fingerprintStatus" />
<TextView
android:id="@+id/dialogSubtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="7.5dp"
android:layout_marginStart="28dp"
android:layout_marginEnd="28dp"
android:fontFamily="sans-serif"
android:gravity="center_horizontal"
android:letterSpacing="-0.01"
android:lineSpacingExtra="6sp"
android:text="@string/enable_fingerprint_dialog_subtitle"
android:textColor="@color/text_grey"
android:textSize="14sp"
android:textStyle="normal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialogTitle"
tools:text="Give Lockwise permission to unlock this app with the fingerprint sensor." />
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:id="@+id/iconLockwise"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="6dp"
app:layout_constraintBottom_toTopOf="@+id/constraintLayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/constraintLayout"
app:srcCompat="@drawable/ic_lockwise_bordered"
tools:ignore="ContentDescription" />
</androidx.constraintlayout.widget.ConstraintLayout>