1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android"
 3    xmlns:app="http://schemas.android.com/apk/res-auto">
 4
 5    <ScrollView
 6        android:layout_width="match_parent"
 7        android:layout_height="match_parent">
 8
 9        <LinearLayout
10            android:layout_width="wrap_content"
11            android:layout_height="wrap_content"
12            android:orientation="vertical"
13            android:padding="?dialogPreferredPadding">
14            
15            <TextView
16                android:id="@+id/explain"
17                android:layout_width="wrap_content"
18                android:layout_height="wrap_content"
19                android:text="@string/enter_password_to_restore"
20                android:textAppearance="?textAppearanceBodyMedium" />
21
22            <TextView
23                android:layout_width="wrap_content"
24                android:layout_height="wrap_content"
25                android:layout_marginTop="18sp"
26                android:text="@string/restore_warning"
27                android:textAppearance="?textAppearanceBodyMedium" />
28
29            <TextView
30                android:layout_width="wrap_content"
31                android:layout_height="wrap_content"
32                android:layout_marginTop="18sp"
33                android:text="@string/restore_warning_continued"
34                android:textAppearance="?textAppearanceBodyMedium" />
35
36            <com.google.android.material.textfield.TextInputLayout
37                android:id="@+id/account_password_layout"
38                android:layout_width="match_parent"
39                android:layout_height="wrap_content"
40                android:layout_marginTop="8dp"
41                app:endIconMode="password_toggle">
42
43                <eu.siacs.conversations.ui.widget.TextInputEditText
44                    android:id="@+id/account_password"
45                    android:layout_width="match_parent"
46                    android:layout_height="wrap_content"
47                    android:hint="@string/password"
48                    android:inputType="textPassword" />
49
50            </com.google.android.material.textfield.TextInputLayout>
51        </LinearLayout>
52    </ScrollView>
53</layout>