aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/stats_expandable_list_fragment.xml
blob: b670c7bd9dc849ab749175bb972a73a68ee5dcda (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
137
138
139
140
141
142
143
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              xmlns:tools="http://schemas.android.com/tools"
              android:layout_gravity="top"
              android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/stats_white_background"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:paddingTop="@dimen/margin_small">

            <org.wordpress.android.widgets.WPTextView
                android:id="@+id/stats_module_title"
                android:layout_marginLeft="@dimen/margin_large"
                android:layout_marginRight="@dimen/margin_large"
                android:layout_marginBottom="@dimen/margin_small"
                style="@style/StatsModuleTitle" />

            <include
                android:id="@+id/stats_empty_module_placeholder"
                layout="@layout/stats_empty_module_placeholder"
                android:layout_marginLeft="@dimen/margin_large"
                android:layout_marginRight="@dimen/margin_large"
                android:layout_marginTop="@dimen/margin_large"
                android:layout_width="match_parent"
                android:layout_height="wrap_content" />

            <LinearLayout
                android:id="@+id/stats_pager_tabs"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:gravity="center"
                android:orientation="horizontal"
                android:paddingBottom="@dimen/margin_small"
                android:paddingTop="@dimen/margin_small"
                android:layout_marginLeft="@dimen/margin_large"
                android:layout_marginRight="@dimen/margin_large"
                android:visibility="gone"/>

            <org.wordpress.android.widgets.WPTextView
                android:id="@+id/stats_module_totals_label"
                android:textColor="@color/stats_module_content_list_header"
                android:textSize="@dimen/text_sz_small"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:paddingTop="@dimen/margin_large"
                android:paddingBottom="@dimen/margin_medium"
                android:layout_marginLeft="@dimen/margin_large"
                android:layout_marginRight="@dimen/margin_large"
                android:visibility="gone" />

            <include
                android:id="@+id/stats_top_pagination_container"
                layout="@layout/stats_pagination_item"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="@dimen/margin_medium"
                android:layout_marginTop="@dimen/margin_medium"/>

            <LinearLayout
                android:id="@+id/stats_list_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/margin_large"
                    android:layout_marginRight="@dimen/margin_large"
                    android:paddingTop="@dimen/margin_small"
                    android:paddingBottom="@dimen/margin_small">

                    <org.wordpress.android.widgets.WPTextView
                        android:id="@+id/stats_list_entry_label"
                        style="@style/StatsHeader"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_alignParentLeft="true"
                        tools:text="TITLE" />

                    <org.wordpress.android.widgets.WPTextView
                        android:id="@+id/stats_list_totals_label"
                        style="@style/StatsHeader"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_alignParentRight="true"
                        tools:text="VIEWS" />
                </RelativeLayout>


                <LinearLayout
                    android:id="@+id/stats_list_linearlayout"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:orientation="vertical"
                    android:scrollbarStyle="outsideOverlay"
                    android:visibility="gone"/>

                <include
                    android:id="@+id/stats_bottom_pagination_container"
                    layout="@layout/stats_pagination_item" />

            </LinearLayout>

        </LinearLayout>

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/stats_list_empty_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textColor="@color/grey"
            android:textSize="@dimen/text_sz_small"
            android:padding="@dimen/margin_large"
            android:visibility="gone" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:background="@drawable/stats_view_all_button_background">
            <Button
                android:id="@+id/btnViewAll"
                style="@style/StatsViewAllButton"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/stats_view_all"
                android:visibility="gone" />
        </LinearLayout>

    </LinearLayout>
</LinearLayout>