summaryrefslogtreecommitdiff
path: root/res/layout/queue_listitem.xml
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2014-04-27 21:59:31 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2014-04-27 21:59:31 +0200
commitf8c2c42fc9b820d8da2130b4d1d5d6820493a671 (patch)
tree18350fb962cfab95a3cce652a0157fdbe380b3c6 /res/layout/queue_listitem.xml
parent95c5f0309f4d481350333a3c99666f3eda9f946c (diff)
downloadAntennaPod-f8c2c42fc9b820d8da2130b4d1d5d6820493a671.zip
Improved spacing
Diffstat (limited to 'res/layout/queue_listitem.xml')
-rw-r--r--res/layout/queue_listitem.xml54
1 files changed, 8 insertions, 46 deletions
diff --git a/res/layout/queue_listitem.xml b/res/layout/queue_listitem.xml
index 5bac726f3..a2545097f 100644
--- a/res/layout/queue_listitem.xml
+++ b/res/layout/queue_listitem.xml
@@ -19,58 +19,30 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
- android:layout_marginRight="16dp">
+ android:layout_marginRight="8dp">
<ImageView
android:id="@+id/imgvImage"
android:contentDescription="@string/cover_label"
- android:layout_width="@dimen/thumbnail_length_itemlist"
- android:layout_height="@dimen/thumbnail_length_itemlist"
+ android:layout_width="@dimen/thumbnail_length_queue_item"
+ android:layout_height="@dimen/thumbnail_length_queue_item"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop"/>
- <ImageView
- android:id="@+id/statusPlaying"
- android:contentDescription="@string/status_playing_label"
- android:layout_width="@dimen/status_indicator_width"
- android:layout_height="18dp"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:layout_marginBottom="8dp"
- android:layout_marginTop="8dp"
- android:background="@color/status_playing"
- android:gravity="center"
- android:padding="2dp"
- android:src="@drawable/av_play_dark"/>
-
- <TextView
- android:id="@+id/txtvPublished"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_alignParentTop="true"
- android:layout_toRightOf="@id/imgvImage"
- android:layout_toLeftOf="@id/statusPlaying"
- android:ellipsize="end"
- android:maxLines="1"
- android:textColor="?android:attr/textColorTertiary"
- android:textSize="@dimen/text_size_micro"/>
-
<TextView
android:id="@+id/txtvTitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_below="@id/txtvPublished"
+ android:layout_centerVertical="true"
android:layout_marginLeft="8dp"
- android:layout_marginRight="4dp"
- android:layout_marginTop="2dp"
+ android:layout_marginTop="4dp"
+ android:layout_marginBottom="4dp"
android:layout_toRightOf="@id/imgvImage"
- android:layout_toLeftOf="@id/statusPlaying"
+ android:layout_alignParentRight="true"
android:ellipsize="end"
android:lines="2"
android:textColor="?android:attr/textColorPrimary"
- android:textSize="@dimen/text_size_small"/>
+ android:textSize="@dimen/queue_title_text_size"/>
<LinearLayout
android:layout_width="0dp"
@@ -96,16 +68,6 @@
android:layout_marginRight="8dp"
android:layout_alignParentLeft="true"/>
- <TextView
- android:id="@+id/txtvDuration"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:textColor="?android:attr/textColorTertiary"
- android:textSize="@dimen/text_size_micro"/>
</RelativeLayout>
</LinearLayout>
</RelativeLayout>