diff options
Diffstat (limited to 'OpenKeychain/src/main/res')
3 files changed, 12 insertions, 22 deletions
diff --git a/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml b/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml index e6ee67580..47a8d85c4 100644 --- a/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml +++ b/OpenKeychain/src/main/res/layout/decrypt_list_entry.xml @@ -78,14 +78,24 @@ <TextView android:id="@+id/result_encryption_text" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" + android:layout_weight="1" android:textAppearance="?android:attr/textAppearanceMedium" android:layout_marginLeft="8dp" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:text="" tools:text="Encryption status text" /> + + <ImageView + android:id="@+id/context_menu" + android:layout_width="wrap_content" + android:layout_height="48dip" + android:clickable="true" + android:background="?android:selectableItemBackground" + android:src="@drawable/ic_menu_moreoverflow_normal_holo_light" /> + </LinearLayout> <LinearLayout diff --git a/OpenKeychain/src/main/res/layout/decrypt_list_file_item.xml b/OpenKeychain/src/main/res/layout/decrypt_list_file_item.xml index b37ac1013..f13a43fd6 100644 --- a/OpenKeychain/src/main/res/layout/decrypt_list_file_item.xml +++ b/OpenKeychain/src/main/res/layout/decrypt_list_file_item.xml @@ -6,6 +6,7 @@ android:id="@+id/file" android:clickable="true" android:background="?android:selectableItemBackground" + android:minHeight="?listPreferredItemHeight" > <ImageView @@ -51,13 +52,4 @@ </LinearLayout> - <ImageView - android:id="@+id/context_menu" - android:scaleType="center" - android:layout_width="36dip" - android:layout_height="48dip" - android:clickable="true" - android:background="?android:selectableItemBackground" - android:src="@drawable/ic_menu_moreoverflow_normal_holo_light" /> - </LinearLayout>
\ No newline at end of file diff --git a/OpenKeychain/src/main/res/menu/decrypt_item_context_menu.xml b/OpenKeychain/src/main/res/menu/decrypt_item_context_menu.xml index ab526c4a5..65b8f210d 100644 --- a/OpenKeychain/src/main/res/menu/decrypt_item_context_menu.xml +++ b/OpenKeychain/src/main/res/menu/decrypt_item_context_menu.xml @@ -8,18 +8,6 @@ /> <item - android:id="@+id/decrypt_share" - android:title="@string/btn_share_decrypted_text" - android:icon="@drawable/ic_share_grey_24dp" - /> - - <item - android:id="@+id/decrypt_save" - android:title="@string/btn_save_file" - android:icon="@drawable/ic_action_encrypt_file_24dp" - /> - - <item android:id="@+id/decrypt_delete" android:title="@string/btn_delete_original" android:icon="@drawable/ic_delete_grey_24dp" |