aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/stats_visitors_and_views_tab.xml
blob: dc1bc768560b75d062ee2ded54eeecc3c732da97 (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_height="match_parent"
    android:layout_width="0dp"
    android:layout_weight="1"
    android:orientation="horizontal"
    android:gravity="center"
    android:clickable="true">

    <LinearLayout
        android:id="@+id/stats_visitors_and_views_tab_inner_container"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:orientation="vertical"
        android:padding="@dimen/margin_medium"
        android:background="?android:selectableItemBackground"
        android:gravity="center">

        <LinearLayout
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:gravity="center"
            android:orientation="horizontal">

            <ImageView
                android:id="@+id/stats_visitors_and_views_tab_icon"
                android:layout_width="12dp"
                android:layout_height="12dp"
                android:layout_marginRight="3dp"
                android:layout_marginEnd="3dp"
                app:srcCompat="@drawable/ic_like" />

            <org.wordpress.android.widgets.WPAutoResizeTextView
                android:id="@+id/stats_visitors_and_views_tab_label"
                android:textColor="@color/grey_dark"
                android:textSize="@dimen/text_sz_extra_small"
                android:maxLines="1"
                android:ellipsize="end"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />
        </LinearLayout>

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/stats_visitors_and_views_tab_value"
            android:textColor="@color/blue_wordpress"
            android:textSize="@dimen/text_sz_small"
            android:paddingTop="@dimen/margin_small"
            android:paddingBottom="@dimen/margin_extra_small"
            android:maxLines="1"
            android:ellipsize="end"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />
    </LinearLayout>
</LinearLayout>