aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout-w400dp
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2016-03-08 15:47:32 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2016-03-08 15:47:32 +0100
commite8875adaa4d3961a78983dbfd793692c94931736 (patch)
treeca468e36f351df3fe75e1528412cf4359e796f82 /OpenKeychain/src/main/res/layout-w400dp
parent5379f64d08ad22e2f7fbc38de9fa79b093c0c7f3 (diff)
downloadopen-keychain-e8875adaa4d3961a78983dbfd793692c94931736.tar.gz
open-keychain-e8875adaa4d3961a78983dbfd793692c94931736.tar.bz2
open-keychain-e8875adaa4d3961a78983dbfd793692c94931736.zip
Using new size qualifiers
Diffstat (limited to 'OpenKeychain/src/main/res/layout-w400dp')
-rw-r--r--OpenKeychain/src/main/res/layout-w400dp/passphrase_dialog_backup_code.xml73
1 files changed, 73 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout-w400dp/passphrase_dialog_backup_code.xml b/OpenKeychain/src/main/res/layout-w400dp/passphrase_dialog_backup_code.xml
new file mode 100644
index 000000000..426616c75
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout-w400dp/passphrase_dialog_backup_code.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout 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:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingBottom="14dp"
+ android:paddingTop="14dp">
+
+ <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"
+ android:layout_marginLeft="24dp"
+ 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">
+
+ <com.github.pinball83.maskededittext.MaskedEditText
+ android:id="@+id/backup_code"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginLeft="16dp"
+ android:layout_marginRight="16dp"
+ android:textSize="16dp"
+ android:textStyle="bold"
+ android:typeface="monospace"
+ app:mask="****-****-****-****-****-****"
+ app:maskIconColor="@color/colorPrimary"
+ app:notMaskedSymbol="*"
+ tools:ignore="SpUsage" />
+
+ </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> \ No newline at end of file