diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-10-05 10:09:50 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-10-05 10:09:50 +0200 |
commit | 7fedde2638217d4aacbbe276ce50af7096222838 (patch) | |
tree | bc86065e588df0e7d93b36bbea171597ce0f7a6c /OpenKeychain/src/main/res/layout/log_display_item.xml | |
parent | 0b9308753d7339251f9051316b00f6f0c9b0efbc (diff) | |
download | open-keychain-7fedde2638217d4aacbbe276ce50af7096222838.tar.gz open-keychain-7fedde2638217d4aacbbe276ce50af7096222838.tar.bz2 open-keychain-7fedde2638217d4aacbbe276ce50af7096222838.zip |
add support for hierarchical log entries
Diffstat (limited to 'OpenKeychain/src/main/res/layout/log_display_item.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/log_display_item.xml | 21 |
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 |