summaryrefslogtreecommitdiff
path: root/res/layout/feedlist_item.xml
blob: 12d1afb80d55091eaea476a723d3ec33706e2aea (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?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="match_parent"
    android:paddingBottom="4dp"
    android:paddingTop="4dp" 
    android:paddingRight="16dp">

    

    <ImageView
        android:id="@+id/imgvFeedimage"
        android:layout_width="55dip"
        android:layout_height="55dip"
        android:layout_centerVertical="true"
        android:layout_alignParentLeft="true"
        android:layout_marginLeft="1dip"
        android:layout_marginRight="4dip"
        android:cropToPadding="true" />

    <LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_toRightOf="@id/imgvFeedimage"
        android:orientation="vertical" >

        <TextView
            android:id="@+id/txtvFeedname"
            android:maxLines="2"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textStyle="bold" />

        <TextView
            android:id="@+id/txtvNumEpisodes"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="@color/gray" />

        <TextView
            android:id="@+id/txtvLastUpdate"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="@color/gray" 
            android:textStyle="italic"/>
    </LinearLayout>
    
    <TextView
        android:id="@+id/txtvNewEps"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_alignParentRight="true"
        android:layout_centerVertical="true"
        android:textSize="20dp"
        android:textStyle="bold"
        android:visibility="gone" />
    
    <ImageView
        android:id="@+id/imgvRefreshing"
        android:src="@drawable/navigation_refresh"
       android:layout_width="55dip"
        android:layout_height="55dip"
        android:layout_alignParentRight="true"
        android:layout_centerVertical="true"
        android:visibility="gone" />

</RelativeLayout>