2015-10-15 23:40:53 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-02-10 17:15:16 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-10-15 23:40:53 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2015-10-22 09:42:06 +02:00
|
|
|
android:paddingBottom="14dp"
|
|
|
|
|
android:paddingTop="14dp">
|
2015-10-15 23:40:53 +02:00
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/input"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/passphrase_text"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2015-10-22 09:42:06 +02:00
|
|
|
android:layout_marginLeft="24dp"
|
2015-10-15 23:40:53 +02:00
|
|
|
android:text="@string/passphrase_for_backup"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="8dp">
|
|
|
|
|
|
2016-02-10 17:15:16 +01:00
|
|
|
<com.github.pinball83.maskededittext.MaskedEditText
|
|
|
|
|
android:id="@+id/backup_code"
|
2016-03-08 16:10:06 +01:00
|
|
|
style="@style/BackupCodeTextStyle"
|
2015-10-15 23:40:53 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
2016-02-10 17:15:16 +01:00
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
|
android:layout_marginRight="16dp"
|
2015-10-15 23:40:53 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:typeface="monospace"
|
2016-02-10 17:15:16 +01:00
|
|
|
app:mask="****-****-****-****-****-****"
|
|
|
|
|
app:maskIconColor="@color/colorPrimary"
|
|
|
|
|
app:notMaskedSymbol="*"
|
|
|
|
|
tools:ignore="SpUsage" />
|
2015-10-15 23:40:53 +02:00
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/progress"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:visibility="invisible">
|
|
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
|
style="?android:attr/progressBarStyle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
style="?android:attr/textAppearanceMedium"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:padding="4dp"
|
|
|
|
|
android:text="@string/label_unlock" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|