summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/feeditemlist_item.xml
diff options
context:
space:
mode:
authorMartin Fietz <marf@hadiko-99-4.hadiko.uni-karlsruhe.de>2015-04-26 12:59:01 +0200
committerMartin Fietz <Martin.Fietz@gmail.com>2015-05-19 11:58:37 +0200
commit406dab0a24543f4332b338f64689948cdc96c3bc (patch)
tree308972949c907d82d4864e17f0a4c5d32b436ebc /app/src/main/res/layout/feeditemlist_item.xml
parente68ca0529bf996ef961fe85009092e9b27e1f699 (diff)
downloadAntennaPod-406dab0a24543f4332b338f64689948cdc96c3bc.zip
Show feed new items and refresh failure
Diffstat (limited to 'app/src/main/res/layout/feeditemlist_item.xml')
-rw-r--r--app/src/main/res/layout/feeditemlist_item.xml56
1 files changed, 32 insertions, 24 deletions
diff --git a/app/src/main/res/layout/feeditemlist_item.xml b/app/src/main/res/layout/feeditemlist_item.xml
index 03595990e..6b7c45978 100644
--- a/app/src/main/res/layout/feeditemlist_item.xml
+++ b/app/src/main/res/layout/feeditemlist_item.xml
@@ -22,8 +22,10 @@
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
- android:layout_margin="16dp"
- tools:text="Status unread"
+ android:layout_marginTop="16dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ tools:text="NEW"
tools:background="@android:color/white" />
<TextView
@@ -36,9 +38,18 @@
android:layout_marginBottom="8dp"
android:layout_marginTop="@dimen/listitem_threeline_verticalpadding"
android:layout_toLeftOf="@id/statusUnread"
- tools:text="Feed item name"
+ tools:text="Episode title"
tools:background="@android:color/holo_green_dark" />
+ <TextView
+ android:id="@+id/txtvLenSize"
+ style="@style/AntennaPod.TextView.ListItemSecondaryTitle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@id/txtvItemname"
+ tools:text="00:42:23"
+ tools:background="@android:color/holo_green_dark" />
<ImageView
android:id="@+id/imgvInPlaylist"
@@ -46,7 +57,7 @@
android:layout_height="@dimen/enc_icons_size"
android:layout_alignParentRight="true"
android:layout_below="@id/txtvItemname"
- android:layout_marginRight="4dp"
+ android:layout_marginRight="8dp"
android:contentDescription="@string/in_queue_label"
android:src="?attr/stat_playlist"
android:visibility="visible"
@@ -58,20 +69,21 @@
android:layout_width="@dimen/enc_icons_size"
android:layout_height="@dimen/enc_icons_size"
android:layout_below="@id/txtvItemname"
- android:layout_marginRight="4dp"
- android:layout_toLeftOf="@+id/imgvInPlaylist"
+ android:layout_marginRight="8dp"
+ android:layout_toLeftOf="@id/imgvInPlaylist"
tools:ignore="ContentDescription"
tools:src="@drawable/ic_hearing_white_18dp"
tools:background="@android:color/holo_red_light" />
<TextView
- android:id="@+id/txtvLenSize"
+ android:id="@+id/txtvPublished"
style="@style/AntennaPod.TextView.ListItemSecondaryTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
android:layout_below="@id/txtvItemname"
- tools:text="00:42:23"
+ android:layout_marginRight="8dp"
+ android:layout_toLeftOf="@id/imgvType"
+ tools:text="Jan 23"
tools:background="@android:color/holo_green_dark" />
<ProgressBar
@@ -79,24 +91,20 @@
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_below="@id/txtvItemname"
- android:layout_marginLeft="4dp"
- android:layout_marginRight="4dp"
- android:layout_toLeftOf="@id/imgvType"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:layout_toLeftOf="@id/txtvPublished"
android:layout_toRightOf="@id/txtvLenSize"
- tools:background="@android:color/holo_blue_light" />
+ android:layout_alignTop="@id/txtvPublished"
+ android:layout_alignBottom="@id/txtvPublished"
+ tools:background="@android:color/holo_blue_light"
+ android:max="100"
+ android:progress="42"
+ android:indeterminate="false"
+ />
+
- <TextView
- android:id="@+id/txtvPublished"
- style="@style/AntennaPod.TextView.ListItemSecondaryTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/txtvItemname"
- android:layout_marginRight="4dp"
- android:layout_toLeftOf="@id/imgvType"
- tools:text="Jan 23"
- tools:background="@android:color/holo_green_dark" />
</RelativeLayout>
<include layout="@layout/vertical_list_divider"/>