summaryrefslogtreecommitdiff
path: root/res/layout/downloaded_episodeslist_item.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/downloaded_episodeslist_item.xml
parent95c5f0309f4d481350333a3c99666f3eda9f946c (diff)
downloadAntennaPod-f8c2c42fc9b820d8da2130b4d1d5d6820493a671.zip
Improved spacing
Diffstat (limited to 'res/layout/downloaded_episodeslist_item.xml')
-rw-r--r--res/layout/downloaded_episodeslist_item.xml55
1 files changed, 13 insertions, 42 deletions
diff --git a/res/layout/downloaded_episodeslist_item.xml b/res/layout/downloaded_episodeslist_item.xml
index 35b3dbf9a..fc9913a74 100644
--- a/res/layout/downloaded_episodeslist_item.xml
+++ b/res/layout/downloaded_episodeslist_item.xml
@@ -9,40 +9,24 @@
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_width="@dimen/thumbnail_length_downloaded_item"
android:layout_height="@dimen/thumbnail_length_itemlist"
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:layout_marginLeft="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_width="wrap_content"
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"
@@ -57,36 +41,23 @@
android:layout_marginRight="4dp"
android:layout_marginTop="2dp"
android:layout_toRightOf="@id/imgvImage"
- android:layout_toLeftOf="@id/statusPlaying"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
android:ellipsize="end"
android:lines="2"
android:textColor="?android:attr/textColorPrimary"
android:textSize="@dimen/text_size_small"/>
- <LinearLayout
- android:layout_width="0dp"
+ <TextView
+ android:id="@+id/txtvSize"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
android:layout_alignParentRight="true"
- android:layout_toRightOf="@id/imgvImage"
- android:orientation="vertical">
-
- <RelativeLayout
- android:id="@+id/bottom_bar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
- <TextView
- android:id="@+id/txtvSize"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_alignParentLeft="true"
- android:textColor="?android:attr/textColorTertiary"
- android:textSize="@dimen/text_size_micro"/>
- </RelativeLayout>
- </LinearLayout>
+ android:layout_alignParentTop="true"
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="@dimen/text_size_micro"/>
</RelativeLayout>
<View