diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2012-11-30 14:42:43 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2012-11-30 14:42:43 +0100 |
| commit | 62f7d6e130a1be5cd3fabdacbd664ae7326109ff (patch) | |
| tree | 352a361a3a0999ff2e74fd286fa8444b509ec593 /main/res | |
| parent | d8c53772a993ad2592cc5104e9b976004cba069e (diff) | |
| download | cgeo-62f7d6e130a1be5cd3fabdacbd664ae7326109ff.zip cgeo-62f7d6e130a1be5cd3fabdacbd664ae7326109ff.tar.gz cgeo-62f7d6e130a1be5cd3fabdacbd664ae7326109ff.tar.bz2 | |
new: use color markers also in log view
* simplifies recognizing log types
* makes it easier for the eye to follow the log layout
Diffstat (limited to 'main/res')
| -rw-r--r-- | main/res/drawable/mark_gray.xml | 6 | ||||
| -rw-r--r-- | main/res/layout/trackable_logs_item.xml | 16 |
2 files changed, 18 insertions, 4 deletions
diff --git a/main/res/drawable/mark_gray.xml b/main/res/drawable/mark_gray.xml new file mode 100644 index 0000000..239739e --- /dev/null +++ b/main/res/drawable/mark_gray.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid + android:color="#77777777" /> +</shape>
\ No newline at end of file diff --git a/main/res/layout/trackable_logs_item.xml b/main/res/layout/trackable_logs_item.xml index d13416a..77f057e 100644 --- a/main/res/layout/trackable_logs_item.xml +++ b/main/res/layout/trackable_logs_item.xml @@ -2,7 +2,8 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:padding="3dip" > + android:paddingTop="3dip" + android:paddingBottom="3dip" > <TextView android:id="@+id/author" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -62,9 +63,16 @@ android:ellipsize="marquee" android:textSize="14dip" android:textColor="?text_color_headline" /> - </LinearLayout> - </LinearLayout> - <LinearLayout android:id="@+id/log_layout" + </LinearLayout> + <ImageView android:id="@+id/log_mark" + android:layout_width="2dip" + android:layout_height="fill_parent" + android:layout_marginTop="2dip" + android:layout_marginBottom="2dip" + android:scaleType="fitXY" + android:src="@drawable/mark_green" /> + </LinearLayout> + <LinearLayout android:id="@+id/log_layout" android:layout_height="wrap_content" android:layout_width="fill_parent" android:orientation="vertical" |
