diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-07 17:00:58 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-07 17:00:58 +0200 |
commit | d1e08f9305a451feab0bc7ac93e165952435a599 (patch) | |
tree | 0d612f36ee0df776377003441fe7650a8ff9a523 /OpenKeychain/src/main/res/layout | |
parent | 02663de191e58d3349628fe4e944147ffdc72bc0 (diff) | |
download | open-keychain-d1e08f9305a451feab0bc7ac93e165952435a599.tar.gz open-keychain-d1e08f9305a451feab0bc7ac93e165952435a599.tar.bz2 open-keychain-d1e08f9305a451feab0bc7ac93e165952435a599.zip |
Two buttons to encrypt files and text, some fixes
Diffstat (limited to 'OpenKeychain/src/main/res/layout')
-rw-r--r-- | OpenKeychain/src/main/res/layout/view_key_main_fragment.xml | 52 |
1 files changed, 40 insertions, 12 deletions
diff --git a/OpenKeychain/src/main/res/layout/view_key_main_fragment.xml b/OpenKeychain/src/main/res/layout/view_key_main_fragment.xml index edee7ebe8..918e50dc4 100644 --- a/OpenKeychain/src/main/res/layout/view_key_main_fragment.xml +++ b/OpenKeychain/src/main/res/layout/view_key_main_fragment.xml @@ -93,21 +93,49 @@ android:layout_height="1dip" android:background="?android:attr/listDivider" /> - <TextView - android:id="@+id/view_key_action_encrypt" - android:paddingLeft="8dp" - android:paddingRight="8dp" - android:textAppearance="?android:attr/textAppearanceMedium" + + <LinearLayout + android:id="@+id/view_key_action_encrypt_text" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" + android:layout_height="?android:attr/listPreferredItemHeight" android:clickable="true" style="@style/SelectableItem" - android:text="@string/key_view_action_encrypt" - android:layout_weight="1" - android:drawableRight="@drawable/ic_action_secure" - android:drawablePadding="8dp" - android:gravity="center_vertical" /> + android:orientation="horizontal"> + + <TextView + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_width="0dip" + android:layout_height="match_parent" + android:text="@string/key_view_action_encrypt" + android:layout_weight="1" + android:drawableRight="@drawable/ic_action_secure" + android:drawablePadding="8dp" + android:gravity="center_vertical" /> + + <View + android:layout_width="1dip" + android:layout_height="match_parent" + android:gravity="right" + android:layout_marginBottom="8dp" + android:layout_marginTop="8dp" + android:background="?android:attr/listDivider" /> + + <TextView + android:id="@+id/view_key_action_encrypt_files" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:text="@string/key_view_action_encrypt_files" + android:drawableRight="@drawable/ic_action_secure" + android:drawablePadding="8dp" + android:gravity="center_vertical" + style="@style/SelectableItem" /> + + </LinearLayout> <View android:layout_width="match_parent" |