diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout-mdpi/backup_code_fragment.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout-mdpi/backup_code_fragment.xml | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/OpenKeychain/src/main/res/layout-mdpi/backup_code_fragment.xml b/OpenKeychain/src/main/res/layout-mdpi/backup_code_fragment.xml index 1c2c260db..4c7cb7374 100644 --- a/OpenKeychain/src/main/res/layout-mdpi/backup_code_fragment.xml +++ b/OpenKeychain/src/main/res/layout-mdpi/backup_code_fragment.xml @@ -277,7 +277,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" @@ -294,13 +294,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" |