diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-09-29 04:03:44 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-09-29 04:03:44 +0200 |
commit | 2b6335e90b7a0175748f6c067b514362b5053173 (patch) | |
tree | cfc8540fd8b06de1098c7be8b000f18cb792d15f /OpenKeychain/src/main/res/layout-xhdpi | |
parent | 91c357707354b6cce7b11b6ac6663fd3adb3a872 (diff) | |
download | open-keychain-2b6335e90b7a0175748f6c067b514362b5053173.tar.gz open-keychain-2b6335e90b7a0175748f6c067b514362b5053173.tar.bz2 open-keychain-2b6335e90b7a0175748f6c067b514362b5053173.zip |
enc-export: add "back" button to fail state
Diffstat (limited to 'OpenKeychain/src/main/res/layout-xhdpi')
-rw-r--r-- | OpenKeychain/src/main/res/layout-xhdpi/backup_code_fragment.xml | 37 |
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" |