summaryrefslogtreecommitdiff
path: root/res/layout/feedlist_item.xml
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-02-11 18:33:30 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-02-11 18:33:30 +0100
commit66cfd44413d60c7d5c142fc875c244e7e891052d (patch)
treed2369947fd6b1b98a593053961c6b5a9f538098f /res/layout/feedlist_item.xml
parentf18286218272d60843307a29a332c6889d591caa (diff)
downloadAntennaPod-66cfd44413d60c7d5c142fc875c244e7e891052d.zip
improved layout of feedlist status indicators
Diffstat (limited to 'res/layout/feedlist_item.xml')
-rw-r--r--res/layout/feedlist_item.xml68
1 files changed, 45 insertions, 23 deletions
diff --git a/res/layout/feedlist_item.xml b/res/layout/feedlist_item.xml
index dab9a80ec..90a9e3bf0 100644
--- a/res/layout/feedlist_item.xml
+++ b/res/layout/feedlist_item.xml
@@ -23,47 +23,69 @@
android:layout_centerVertical="true"
android:orientation="vertical" >
- <LinearLayout
+ <RelativeLayout
android:id="@+id/lNewStatusLabel"
- android:layout_width="wrap_content"
+ android:layout_width="@dimen/status_indicator_width"
android:layout_height="0dip"
- android:layout_weight="1" >
+ android:layout_marginBottom="8dp"
+ android:layout_marginTop="4dp"
+ android:layout_weight="1"
+ android:background="@color/status_unread" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="4dp"
+ android:src="@drawable/white_circle" />
<TextView
android:id="@+id/txtvNewEps"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:layout_marginRight="4dip"
- android:textSize="@dimen/text_size_medium"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="8dp"
+ android:maxLines="1"
+ android:minEms="2"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_micro"
android:textStyle="bold" />
+ </RelativeLayout>
- <View
- android:layout_width="5dip"
- android:layout_height="match_parent"
- android:background="@color/status_unread"
- android:visibility="visible" />
- </LinearLayout>
-
- <LinearLayout
+ <RelativeLayout
android:id="@+id/lProgressStatusLabel"
- android:layout_width="wrap_content"
+ android:layout_width="@dimen/status_indicator_width"
android:layout_height="0dip"
- android:layout_weight="1" >
+ android:layout_marginBottom="8dp"
+ android:layout_weight="1"
+ android:background="@color/ics_gray" >
<TextView
android:id="@+id/txtvProgressEps"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:layout_marginRight="4dip"
- android:textSize="@dimen/text_size_medium"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:background="@color/status_progress"
+ android:maxLines="1"
+ android:minEms="2"
+ android:paddingLeft="4dp"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_micro"
android:textStyle="bold" />
- <View
- android:layout_width="5dip"
- android:layout_height="match_parent"
- android:background="@color/status_progress"
- android:visibility="visible" />
- </LinearLayout>
+ <ImageView
+ android:layout_width="10dp"
+ android:layout_height="8dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="2dp"
+ android:layout_marginLeft="2dp"
+ android:src="@drawable/av_play_dark" />
+ </RelativeLayout>
</LinearLayout>
<LinearLayout