summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/itunes_podcast_listitem.xml
blob: 41b1f495fa0cb64f0d7a73448c807f6f6ab0db6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/listitem_threeline_height"
tools:background="@android:color/darker_gray">

<ImageView
    android:id="@+id/imgvCover"
    android:layout_width="@dimen/thumbnail_length_itemlist"
    android:layout_height="@dimen/thumbnail_length_itemlist"
    android:layout_alignParentLeft="true"
    android:layout_centerVertical="true"
    android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding"
    android:layout_marginLeft="@dimen/listitem_threeline_horizontalpadding"
    android:layout_marginRight="8dp"
    android:layout_marginTop="@dimen/listitem_threeline_verticalpadding"
    android:adjustViewBounds="true"
    android:contentDescription="@string/cover_label"
    android:cropToPadding="true"
    android:scaleType="fitXY"
    tools:src="@drawable/ic_stat_antenna_default"
    tools:background="@android:color/holo_green_dark" />

<TextView
    android:id="@+id/txtvTitle"
    style="@style/AntennaPod.TextView.ListItemPrimaryTitle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_centerVertical="true"
    android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding"
    android:layout_marginRight="@dimen/listitem_threeline_horizontalpadding"
    android:layout_toRightOf="@id/imgvCover"
    android:maxLines="1"
    tools:text="Podcast title"
    tools:background="@android:color/holo_green_dark" />
</RelativeLayout>