aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml')
-rw-r--r--OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml37
1 files changed, 30 insertions, 7 deletions
diff --git a/OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml b/OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml
index bb9d37fd5..1ea976656 100644
--- a/OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml
+++ b/OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml
@@ -276,7 +276,7 @@
android:id="@+id/status_animator"
android:inAnimation="@anim/fade_in_delayed"
android:outAnimation="@anim/fade_out"
- custom:initialView="3">
+ custom:initialView="2">
<Button
android:layout_width="wrap_content"
@@ -284,6 +284,8 @@
android:layout_gravity="center_horizontal"
android:layout_margin="10dp"
android:text="@string/btn_code_wrotedown"
+ android:drawableLeft="@drawable/ic_mode_edit_grey_24dp"
+ android:drawablePadding="8dp"
android:padding="12dp"
android:id="@+id/button_backup_input"
style="?android:buttonBarButtonStyle"
@@ -293,13 +295,34 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
- <TextView
- android:layout_width="match_parent"
+ <LinearLayout
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:text="@string/backup_code_wrong"
- style="?android:textAppearanceMedium"
- />
+ android:layout_gravity="center_horizontal"
+ android:orientation="vertical">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:text="@string/backup_code_wrong"
+ style="?android:textAppearanceMedium"
+ />
+
+ <Button
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dp"
+ android:layout_gravity="center_horizontal"
+ android:padding="12dp"
+ android:text="@string/btn_backup_back"
+ android:drawableLeft="@drawable/ic_repeat_grey_24dp"
+ android:drawablePadding="8dp"
+ android:id="@+id/button_backup_back"
+ style="?android:buttonBarButtonStyle"
+ />
+
+ </LinearLayout>
<LinearLayout
android:layout_width="wrap_content"