2012-08-11 15:45:30 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
2012-08-11 15:45:30 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imgvFeedimage"
|
2012-08-27 14:27:53 +02:00
|
|
|
android:layout_width="@dimen/thumbnail_length"
|
|
|
|
android:layout_height="@dimen/thumbnail_length"
|
2012-08-11 15:45:30 +02:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_margin="8dp"
|
2012-08-26 22:12:09 +02:00
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:cropToPadding="true"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:scaleType="fitXY"/>
|
2012-08-11 15:45:30 +02:00
|
|
|
|
2012-11-17 15:23:43 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/lEpisodeCounts"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_alignRight="@id/imgvFeedimage"
|
|
|
|
android:layout_below="@id/imgvFeedimage"
|
|
|
|
android:layout_centerVertical="true"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:orientation="vertical">
|
2012-11-17 15:23:43 +01:00
|
|
|
|
2013-02-23 13:28:31 +01:00
|
|
|
<RelativeLayout
|
2012-11-17 15:23:43 +01:00
|
|
|
android:id="@+id/lNewStatusLabel"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:layout_width="@dimen/status_indicator_width"
|
2012-11-17 15:23:43 +01:00
|
|
|
android:layout_height="0dip"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_weight="1"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:background="@color/status_unread">
|
2013-02-23 13:28:31 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginRight="4dp"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:src="@drawable/white_circle"/>
|
2012-11-17 15:23:43 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvNewEps"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="4dp"
|
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:minEms="2"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="@dimen/text_size_micro"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:textStyle="bold"/>
|
2013-02-23 13:28:31 +01:00
|
|
|
</RelativeLayout>
|
2012-11-17 15:23:43 +01:00
|
|
|
|
2013-02-23 13:28:31 +01:00
|
|
|
<RelativeLayout
|
2012-11-17 15:23:43 +01:00
|
|
|
android:id="@+id/lProgressStatusLabel"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:layout_width="@dimen/status_indicator_width"
|
2012-11-17 15:23:43 +01:00
|
|
|
android:layout_height="0dip"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_weight="1"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:background="@color/ics_gray">
|
2012-11-17 15:23:43 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvProgressEps"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:background="@color/status_progress"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:minEms="2"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="@dimen/text_size_micro"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:textStyle="bold"/>
|
2012-11-17 15:23:43 +01:00
|
|
|
|
2013-02-23 13:28:31 +01:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="10dp"
|
|
|
|
android:layout_height="8dp"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:src="@drawable/av_play_dark"/>
|
2013-02-23 13:28:31 +01:00
|
|
|
</RelativeLayout>
|
2012-11-17 15:23:43 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2012-08-11 15:45:30 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@id/imgvFeedimage"
|
|
|
|
android:layout_below="@id/imgvFeedimage"
|
2012-11-17 15:23:43 +01:00
|
|
|
android:layout_toLeftOf="@id/lEpisodeCounts"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:orientation="vertical">
|
2012-08-11 15:45:30 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvFeedname"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
2013-02-23 13:28:31 +01:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:lines="1"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:textSize="@dimen/text_size_small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textStyle="bold"/>
|
2012-08-11 15:45:30 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvLastUpdate"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:lines="2"
|
|
|
|
android:ellipsize="end"
|
2012-08-11 15:45:30 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:textSize="@dimen/text_size_micro"
|
|
|
|
android:textColor="?android:attr/textColorTertiary"/>
|
2012-08-11 15:45:30 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvNumEpisodes"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:lines="1"
|
|
|
|
android:ellipsize="end"
|
2012-08-11 15:45:30 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
2013-10-03 14:48:54 +02:00
|
|
|
android:textSize="@dimen/text_size_micro"
|
|
|
|
android:textColor="?android:attr/textColorTertiary"/>
|
2012-08-11 15:45:30 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|