diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2015-03-09 22:00:44 +0100 |
---|---|---|
committer | Adithya Abraham Philip <adithyaphilip@gmail.com> | 2015-03-10 02:49:34 +0530 |
commit | 7d2e2e3eec85193f41554605483506b1233e7f07 (patch) | |
tree | e88bafd5834cb6eda07be07e64ce85d84f13e937 /OpenKeychain/src/main/res/layout/create_key_final_fragment.xml | |
parent | 012b7e4830e9a52b896c17c98af68db5ade2e333 (diff) | |
download | open-keychain-7d2e2e3eec85193f41554605483506b1233e7f07.tar.gz open-keychain-7d2e2e3eec85193f41554605483506b1233e7f07.tar.bz2 open-keychain-7d2e2e3eec85193f41554605483506b1233e7f07.zip |
Make create key wizard step-by-step
Diffstat (limited to 'OpenKeychain/src/main/res/layout/create_key_final_fragment.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/create_key_final_fragment.xml | 46 |
1 files changed, 15 insertions, 31 deletions
diff --git a/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml b/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml index 84625d1fd..830f039f7 100644 --- a/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml +++ b/OpenKeychain/src/main/res/layout/create_key_final_fragment.xml @@ -6,7 +6,7 @@ <ScrollView android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_above="@+id/create_key_buttons_divider"> + android:layout_above="@+id/create_key_buttons"> <LinearLayout android:layout_width="match_parent" @@ -144,58 +144,42 @@ android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" - android:layout_marginLeft="16dp" - android:layout_marginRight="16dp" + android:background="@color/holo_gray_bright" android:id="@+id/create_key_buttons"> <TextView android:id="@+id/create_key_back_button" - android:paddingLeft="8dp" - android:paddingRight="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/btn_back" + android:textAllCaps="true" android:minHeight="?android:attr/listPreferredItemHeight" - android:gravity="center_vertical" + android:drawableLeft="@drawable/ic_chevron_left_grey_24dp" + android:drawablePadding="8dp" + android:gravity="left|center_vertical" android:clickable="true" - style="?android:attr/borderlessButtonStyle" - android:layout_gravity="center_vertical" /> - - <View - android:layout_width="1dp" - android:layout_height="match_parent" - android:layout_marginTop="8dp" - android:layout_marginBottom="8dp" - android:background="?android:attr/listDivider" /> + style="?android:attr/borderlessButtonStyle" /> <TextView - android:id="@+id/create_key_create_button" - android:paddingLeft="8dp" - android:paddingRight="8dp" + android:id="@+id/create_key_next_button" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/btn_create_key" + android:textAllCaps="true" android:minHeight="?android:attr/listPreferredItemHeight" android:drawableRight="@drawable/ic_key_plus_grey600_24dp" android:drawablePadding="8dp" - android:gravity="center_vertical" + android:gravity="right|center_vertical" android:clickable="true" - style="?android:attr/borderlessButtonStyle" - android:layout_gravity="center_vertical" /> + style="?android:attr/borderlessButtonStyle" /> </LinearLayout> - <View - android:id="@+id/create_key_buttons_divider" - android:layout_width="match_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider" - android:layout_alignTop="@+id/create_key_buttons" - android:layout_marginLeft="16dp" - android:layout_marginRight="16dp" - android:layout_alignParentLeft="true" - android:layout_alignParentStart="true" /> </RelativeLayout>
\ No newline at end of file |