summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/itemdescription_listitem.xml
blob: c3f8c24b8dc9b7c78a597952e67f09d204d75595 (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
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingHorizontal="20dp"
    android:paddingVertical="16dp">

    <TextView
        android:id="@+id/txtvPubDate"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:ellipsize="end"
        android:lines="1"
        style="@android:style/TextAppearance.Small"
        tools:text="22 Jan 2016"
        tools:background="@android:color/holo_green_dark" />

    <TextView
        android:id="@+id/txtvTitle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginVertical="12dp"
        android:ellipsize="end"
        android:maxLines="2"
        style="@style/AntennaPod.TextView.ListItemPrimaryTitle"
        tools:text="Feed item title"
        tools:background="@android:color/holo_green_dark" />

    <TextView
        android:id="@+id/txtvDescription"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:ellipsize="end"
        android:maxLines="2"
        style="@style/AntennaPod.TextView.ListItemBody"
        tools:text="Feed item description"
        tools:background="@android:color/holo_green_dark" />

    <Button
        android:id="@+id/butPreview"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="8dp"
        android:text="@string/preview_episode"
        android:layout_gravity="end|right"
        style="@style/Widget.MaterialComponents.Button.OutlinedButton" />

</LinearLayout>