summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMichael Kaiser <patheticpat@googlemail.com>2012-10-23 15:05:42 +0200
committerMichael Kaiser <patheticpat@googlemail.com>2012-10-23 15:54:55 +0200
commitd32f49b274acf5b58a13b1e9fd8cdb85e76ee6c8 (patch)
tree4844d7e6e73548e84f59f92fd98addd3179eedc6 /res
parent528cda20d36ff2b4a521a385cf5b8913ee05bf92 (diff)
downloadAntennaPod-d32f49b274acf5b58a13b1e9fd8cdb85e76ee6c8.zip
Show number of "in progress" episodes for each feed
Diffstat (limited to 'res')
-rw-r--r--res/layout/feedlist_item.xml56
1 files changed, 49 insertions, 7 deletions
diff --git a/res/layout/feedlist_item.xml b/res/layout/feedlist_item.xml
index 4677cae84..87f18f64e 100644
--- a/res/layout/feedlist_item.xml
+++ b/res/layout/feedlist_item.xml
@@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="4dp"
- android:paddingRight="16dp"
+ android:paddingRight="8dp"
android:paddingTop="4dp" >
<ImageView
@@ -18,19 +18,61 @@
android:cropToPadding="true"
android:scaleType="fitXY" />
- <TextView
- android:id="@+id/txtvNewEps"
+ <LinearLayout
+ android:id="@+id/lEpisodeCounts"
android:layout_width="wrap_content"
- android:layout_height="match_parent"
+ android:layout_height="fill_parent"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
- android:textSize="20dp"
- android:textStyle="bold" />
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/lNewStatusLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="0dip"
+ android:layout_weight="1" >
+
+ <TextView
+ android:id="@+id/txtvNewEps"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_marginRight="4dip"
+ android:textSize="20dp"
+ android:textStyle="bold" />
+
+ <View
+ android:layout_width="5dip"
+ android:layout_height="match_parent"
+ android:background="@color/status_unread"
+ android:visibility="visible" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/lProgressStatusLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="0dip"
+ android:layout_weight="1" >
+
+ <TextView
+ android:id="@+id/txtvProgressEps"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_marginRight="4dip"
+ android:textSize="20dp"
+ android:textStyle="bold" />
+
+ <View
+ android:layout_width="5dip"
+ android:layout_height="match_parent"
+ android:background="@color/status_progress"
+ android:visibility="visible" />
+ </LinearLayout>
+ </LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
- android:layout_toLeftOf="@id/txtvNewEps"
+ android:layout_toLeftOf="@id/lEpisodeCounts"
android:layout_toRightOf="@id/imgvFeedimage"
android:orientation="vertical" >