Welcome to mirror list, hosted at ThFree Co, Russian Federation.

subscription_detail_list_item_thumbnail.xml « layout « res « main « src « News-Android-App - github.com/nextcloud/news-android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bae692a0dd0da9a336122f80b7c8117cc36a123c (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_height="wrap_content"
    android:layout_width="wrap_content"
    android:background="?attr/selectableItemBackground">

    <!--
    <View
        android:id="@+id/color_line_feed"
        android:layout_height="match_parent"
        android:layout_width="4dp"
        android:background="?attr/dividerLineColor"
        android:layout_marginEnd="@dimen/listview_row_margin_left" />
    -->

    <RelativeLayout
        android:id="@+id/list_item_header"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/listview_row_margin_bottom"
        android:descendantFocusability="blocksDescendants"
        android:paddingStart="@dimen/listview_row_margin_left"
        android:paddingEnd="0dp">

        <TextView
            android:id="@+id/summary"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentStart="true"
            android:layout_marginTop="@dimen/listview_row_margin_top"
            android:layout_marginBottom="8dp"
            android:layout_toStartOf="@id/star_imageview"
            android:ellipsize="end"
            android:gravity="center_vertical"
            android:maxLines="2"
            android:textSize="17sp"
            android:textStyle="bold"
            android:textColor="?attr/primaryTextColor"
            tools:text="Anruf-InfoSecond" />

        <ImageView
            android:id="@+id/imgViewThumbnail"
            android:layout_width="88dp"
            android:layout_height="88dp"
            android:layout_alignParentStart="true"
            android:layout_below="@id/summary"
            android:layout_marginTop="4dp"
            android:layout_marginEnd="16dp"
            android:contentDescription="@string/img_view_thumbnail"
            android:scaleType="centerCrop"
            tools:src="@drawable/feed_icon" />

        <include
            android:id="@+id/podcast_wrapper"
            layout="@layout/subscription_detail_list_item_podcast_wrapper"
            android:layout_height="88dp"
            android:layout_width="88dp"
            android:layout_below="@id/summary"/>

        <TextView
            android:id="@+id/body"
            android:layout_width="match_parent"
            android:layout_height="96dp"
            android:layout_below="@id/summary"
            android:layout_toEndOf="@id/imgViewThumbnail"
            android:ellipsize="end"
            android:gravity="start"
            android:layout_marginEnd="@dimen/listview_row_margin_right"
            android:layout_marginBottom="8dp"
            android:lineSpacingMultiplier="1.2"
            android:maxLines="4"
            android:textAlignment="viewStart"
            android:textColor="@color/text_medium_emphasis"
            android:textSize="15sp"
            android:textStyle="normal"
            tools:text="Anruf-Info djkas dhask dhas dashdajs dha dhas dhas djka a jsa das djsa djas dash djas dashdja sljda dhjas ja dkla da ja da djas djkasas jkas dklas dsa djla hkjdsahkdas hd ashjdas jsak dsada" />

        <ImageView
            android:id="@+id/star_imageview"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_gravity="top"
            android:contentDescription="@string/content_desc_add_to_favorites"
            android:paddingBottom="8dp"
            android:paddingEnd="10dp"
            android:paddingStart="8dp"
            android:paddingTop="8dp"
            app:tint="?attr/starredColor"
            app:srcCompat="@drawable/ic_star_black_24dp" />

        <ImageView
            android:id="@+id/imgViewFavIcon"
            android:layout_width="15dp"
            android:layout_height="15dp"
            android:layout_alignParentStart="true"
            android:layout_below="@id/body"
            android:layout_marginEnd="8dp"
            android:layout_marginTop="2dp"
            android:contentDescription="@string/content_desc_none"
            tools:src="@drawable/default_feed_icon_light" />

        <TextView
            android:id="@+id/tv_subscription"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/body"
            android:layout_marginBottom="8dp"
            android:layout_toEndOf="@id/imgViewFavIcon"
            android:layout_toStartOf="@id/tv_item_date"
            android:ellipsize="end"
            android:gravity="start"
            android:singleLine="true"
            android:textAlignment="viewStart"
            android:textColor="@color/material_grey_500"
            android:textSize="13sp"
            tools:text="PortableApps.com and some other long name behind here! dhajs ak" />

        <TextView
            android:id="@+id/tv_item_date"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_below="@id/body"
            android:layout_marginEnd="@dimen/listview_row_margin_right"
            android:layout_marginStart="@dimen/listview_row_margin_right"
            android:ellipsize="end"
            android:singleLine="true"
            android:textColor="@color/material_grey_500"
            android:textSize="13sp"
            tools:text="vor 13 Stunden" />

    </RelativeLayout>
</LinearLayout>