riku
2025-10-30 e9aa93f381afcf9f9cf0c39f2b9e32375ed49528
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    style="@style/bigCardView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="10dp"
    app:cardCornerRadius="@dimen/dimen8">
 
    <RelativeLayout
        android:id="@+id/rl_container2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="@dimen/dimen6"
        android:visibility="visible">
 
 
        <RelativeLayout
            android:id="@+id/rl_executing_task"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:clickable="true"
            android:foreground="?android:attr/selectableItemBackground"
            android:orientation="horizontal"
            android:focusable="true">
 
            <ImageView
                android:id="@+id/iv_executing_task"
                android:layout_width="26dp"
                android:layout_height="26dp"
                android:background="@drawable/ic_problem" />
 
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_marginStart="10dp"
                android:layout_toEndOf="@id/iv_executing_task"
                android:text="@string/problem_info"
                android:textColor="@color/black"
                android:textSize="12sp" />
 
        </RelativeLayout>
 
        <android.support.constraint.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@id/rl_executing_task">
 
            <LinearLayout
                android:id="@+id/ll_no_data_2"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                app:layout_constraintTop_toBottomOf="@id/ll_problem_1"
                android:visibility="gone">
                <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:src="@drawable/ic_no_data"/>
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:textColor="@color/orange"
                    android:layout_gravity="center_horizontal"
                    android:text="暂无数据"/>
            </LinearLayout>
 
            <android.support.constraint.ConstraintLayout
                android:id="@+id/ll_problem_1"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toLeftOf="@id/ll_problem_2"
                app:layout_constraintHorizontal_chainStyle="spread"
                app:layout_constraintHorizontal_weight="1">
                <TextView
                    android:id="@+id/text_problem_time_1"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="上月(2018-12)"
                    android:textColor="@color/black"
                    app:layout_constraintTop_toTopOf="parent"
                    app:layout_constraintLeft_toRightOf="@id/textView1"
                    app:layout_constraintRight_toRightOf="parent"/>
 
                <TextView
                    android:id="@+id/textView1"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:textColor="@color/black"
                    android:text="@string/total_problem_count"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintTop_toBottomOf="@id/text_problem_time_1"/>
 
                <TextView
                    android:id="@+id/text_problem_count_1"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="0"
                    app:layout_constraintLeft_toRightOf="@id/textView1"
                    app:layout_constraintTop_toBottomOf="@id/text_problem_time_1"
                    app:layout_constraintRight_toRightOf="parent"/>
 
            </android.support.constraint.ConstraintLayout>
 
            <android.support.constraint.ConstraintLayout
                android:id="@+id/ll_problem_2"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                app:layout_constraintTop_toTopOf="@id/ll_problem_1"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintLeft_toRightOf="@id/ll_problem_1"
                app:layout_constraintHorizontal_chainStyle="spread"
                app:layout_constraintHorizontal_weight="1">
                <TextView
                    android:id="@+id/text_problem_time_2"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:gravity="center"
                    android:text="本月(2019-01)"
                    android:textColor="@color/black"
                    app:layout_constraintLeft_toLeftOf="parent"
                    app:layout_constraintRight_toRightOf="parent"
                    app:layout_constraintTop_toTopOf="parent"/>
 
                <TextView
                    android:id="@+id/text_problem_count_2"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="0"
                    app:layout_constraintLeft_toLeftOf="parent"
                    app:layout_constraintTop_toBottomOf="@id/text_problem_time_2"
                    app:layout_constraintRight_toRightOf="parent"/>
 
                <ImageView
                    android:id="@+id/image_problem_rank"
                    android:layout_width="@dimen/fab_margin"
                    android:layout_height="@dimen/fab_margin"
                    android:layout_marginEnd="@dimen/fab_margin"
                    android:src="@drawable/icon_rank_down"
                    app:layout_constraintRight_toRightOf="parent"
                    app:layout_constraintTop_toTopOf="@id/text_problem_count_2"
                    app:layout_constraintBottom_toBottomOf="@id/text_problem_count_2"/>
            </android.support.constraint.ConstraintLayout>
 
            <com.github.mikephil.charting.charts.HorizontalBarChart
                android:id="@+id/bar_problem_1"
                android:layout_width="match_parent"
                android:layout_height="400dp"
                app:layout_constraintLeft_toLeftOf="parent"
                app:layout_constraintRight_toRightOf="parent"
                app:layout_constraintTop_toBottomOf="@id/ll_problem_1">
            </com.github.mikephil.charting.charts.HorizontalBarChart>
 
        </android.support.constraint.ConstraintLayout>
 
    </RelativeLayout>
</android.support.v7.widget.CardView>