blob: 3f3779cb2f55fc796f9d52ce2191451517b8aa2e (
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
|
<?xml version="1.0" encoding="utf-8"?>
<!---
list item which shows a recommended or followed blog - see ReaderBlogAdapter
-->
<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:background="?android:selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingBottom="@dimen/margin_large"
android:paddingLeft="@dimen/margin_extra_large"
android:paddingRight="@dimen/margin_extra_large"
android:paddingTop="@dimen/margin_large">
<org.wordpress.android.widgets.WPNetworkImageView
android:id="@+id/image_blog"
android:layout_width="@dimen/avatar_sz_medium"
android:layout_height="@dimen/avatar_sz_medium"
android:layout_marginRight="@dimen/margin_large"
android:layout_weight="0" />
<LinearLayout
android:id="@+id/layout_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<org.wordpress.android.widgets.WPTextView
android:id="@+id/text_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/margin_medium"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/grey_dark"
android:textSize="@dimen/text_sz_medium"
tools:text="text_title" />
<org.wordpress.android.widgets.WPTextView
android:id="@+id/text_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/reader_hyperlink"
android:textSize="@dimen/text_sz_small"
tools:text="text_url" />
<org.wordpress.android.widgets.WPTextView
android:id="@+id/text_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="2"
android:textColor="@color/grey_darken_10"
android:textSize="@dimen/text_sz_small"
tools:text="text_description" />
</LinearLayout>
</LinearLayout>
|