aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/reader_listitem_user.xml
blob: 850b3e4dd9f93cfb7a8acffc97f490b2a7334ecb (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
<?xml version="1.0" encoding="utf-8"?>

<FrameLayout 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="@color/white"
    android:gravity="center_vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?android:selectableItemBackground"
        android:gravity="center_vertical"
        android:orientation="horizontal"
        android:padding="@dimen/margin_large">

        <org.wordpress.android.widgets.WPNetworkImageView
            android:id="@+id/image_avatar"
            android:layout_width="@dimen/avatar_sz_small"
            android:layout_height="@dimen/avatar_sz_small" />

        <RelativeLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/margin_medium"
            android:layout_marginRight="@dimen/margin_medium"
            android:layout_weight="1">

            <org.wordpress.android.widgets.WPTextView
                android:id="@+id/text_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:maxLines="1"
                android:textColor="@color/grey_dark"
                android:textSize="@dimen/text_sz_medium"
                tools:text="text_name" />

            <org.wordpress.android.widgets.WPTextView
                android:id="@+id/text_url"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/text_name"
                android:ellipsize="end"
                android:maxLines="1"
                android:textColor="@color/reader_hyperlink"
                android:textSize="@dimen/text_sz_small"
                tools:text="text_url" />

        </RelativeLayout>
    </LinearLayout>
</FrameLayout>