summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/searchlist_item.xml
blob: ff4d490e992b6c0ef123d141c6e0364ec2445fd4 (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
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="@dimen/listitem_threeline_height">

    <ImageView
        android:id="@+id/imgvFeedimage"
        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_marginTop="@dimen/listitem_threeline_verticalpadding"
        android:contentDescription="@string/cover_label"
        android:scaleType="centerCrop" />

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_marginLeft="@dimen/listitem_iconwithtext_textleftpadding"
        android:layout_marginRight="@dimen/listitem_threeline_verticalpadding"
        android:layout_marginTop="@dimen/listitem_threeline_verticalpadding"
        android:layout_toRightOf="@id/imgvFeedimage"
        android:orientation="vertical">

        <TextView
            android:id="@+id/txtvTitle"
            style="@style/AntennaPod.TextView.ListItemPrimaryTitle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="8dp" />

        <TextView
            android:id="@+id/txtvSubtitle"
            style="@style/AntennaPod.TextView.ListItemSecondaryTitle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:lines="1" />
    </LinearLayout>

</RelativeLayout>