aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/log_display_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src/main/res/layout/log_display_item.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/log_display_item.xml21
1 files changed, 18 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/res/layout/log_display_item.xml b/OpenKeychain/src/main/res/layout/log_display_item.xml
index 35489afed..9efe9cf64 100644
--- a/OpenKeychain/src/main/res/layout/log_display_item.xml
+++ b/OpenKeychain/src/main/res/layout/log_display_item.xml
@@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="wrap_content">
<ImageView
android:layout_width="wrap_content"
@@ -12,11 +12,26 @@
android:background="@color/bg_gray" />
<TextView
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="Log Entry Text"
android:id="@+id/log_text"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
- android:layout_marginLeft="8dp" />
+ android:layout_marginLeft="8dp"
+ android:layout_weight="1"
+ android:layout_gravity="center_vertical"/>
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/log_sub"
+ android:minWidth="10dp"
+ android:background="@drawable/ic_action_view_as_list"
+ android:layout_marginTop="8dp"
+ android:layout_marginBottom="8dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:gravity="center_vertical" />
+
</LinearLayout> \ No newline at end of file