aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-02-22 17:19:18 -0800
committerScott Jackson <daneren2005@gmail.com>2016-02-22 17:19:18 -0800
commit2a625f25ff7eef0f900ca3eacfe8935dcf8d8bde (patch)
treec22d98787fb390ff6e53fdadee70ebc1cdd4b769 /app/src/main/res/layout
parentb347afd7ba73219852d59c4f43d363f24449d8cd (diff)
downloaddsub-2a625f25ff7eef0f900ca3eacfe8935dcf8d8bde.tar.gz
dsub-2a625f25ff7eef0f900ca3eacfe8935dcf8d8bde.tar.bz2
dsub-2a625f25ff7eef0f900ca3eacfe8935dcf8d8bde.zip
#417 Add listened status indicator for Podcasts/Audio Books
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/song_list_item.xml18
1 files changed, 14 insertions, 4 deletions
diff --git a/app/src/main/res/layout/song_list_item.xml b/app/src/main/res/layout/song_list_item.xml
index 6a474787..d7c8d312 100644
--- a/app/src/main/res/layout/song_list_item.xml
+++ b/app/src/main/res/layout/song_list_item.xml
@@ -44,8 +44,8 @@
<ImageButton
android:id="@+id/song_bookmark"
- android:layout_width="24dp"
- android:layout_height="24dp"
+ android:layout_width="@dimen/SongStatusIcon"
+ android:layout_height="@dimen/SongStatusIcon"
android:layout_gravity="right|top"
android:background="@null"
android:focusable="false"
@@ -62,6 +62,16 @@
android:focusable="false"
android:visibility="gone"/>
+ <ImageButton
+ android:id="@+id/song_played"
+ android:layout_width="@dimen/SongStatusIcon"
+ android:layout_height="@dimen/SongStatusIcon"
+ android:scaleType="fitCenter"
+ android:layout_gravity="right|top"
+ android:background="@null"
+ android:focusable="false"
+ android:visibility="gone"/>
+
<TextView
android:id="@+id/song_status"
android:layout_width="wrap_content"
@@ -72,8 +82,8 @@
<ImageView
android:id="@+id/song_status_icon"
- android:layout_width="24dip"
- android:layout_height="24dip"
+ android:layout_width="@dimen/SongStatusIcon"
+ android:layout_height="@dimen/SongStatusIcon"
android:layout_gravity="top"
android:src="?attr/downloading"
android:visibility="gone"/>