Signal-Android/app/src/main/res/layout/backup_enable_dialog.xml
2023-07-11 14:21:30 -04:00

114 lines
No EOL
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:viewBindingIgnore="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="23dp"
android:paddingTop="16dp"
android:paddingEnd="23dp"
tools:viewBindingIgnore="true">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/backup_enable_dialog__backups_will_be_saved_to_external_storage_and_encrypted_with_the_passphrase_below_you_must_have_this_passphrase_in_order_to_restore_a_backup"
android:textSize="12sp" />
<TableLayout
android:id="@+id/number_table"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="16dp"
android:clickable="true"
android:focusable="true">
<TableRow
android:clickable="false"
android:focusable="false"
android:gravity="center_horizontal"
android:layoutDirection="ltr">
<TextView
android:id="@+id/code_first"
style="@style/BackupPassphrase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="22934" />
<TextView
android:id="@+id/code_second"
style="@style/BackupPassphrase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
tools:text="56944" />
<TextView
android:id="@+id/code_third"
style="@style/BackupPassphrase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
tools:text="42738" />
</TableRow>
<TableRow
android:layout_marginTop="4dp"
android:gravity="center_horizontal"
android:layoutDirection="ltr">
<TextView
android:id="@+id/code_fourth"
style="@style/BackupPassphrase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="34431" />
<TextView
android:id="@+id/code_fifth"
style="@style/BackupPassphrase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
tools:text="24922" />
<TextView
android:id="@+id/code_sixth"
style="@style/BackupPassphrase"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
tools:text="58594" />
</TableRow>
</TableLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:gravity="center"
android:orientation="horizontal">
<CheckBox
android:id="@+id/confirmation_check"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp" />
<TextView
android:id="@+id/confirmation_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/backup_enable_dialog__i_have_written_down_this_passphrase"
android:textSize="12sp" />
</LinearLayout>
</LinearLayout>
</ScrollView>