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
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    style="@style/bigCardView"
    android:clickable="true"
    android:focusable="true"
    android:foreground="?android:attr/selectableItemBackground"
    app:cardCornerRadius="16dp">
    <android.support.constraint.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical|center_horizontal"
        android:padding="@dimen/dimen8">
        <ImageView
            android:id="@+id/image_problem_category"
            android:layout_width="@dimen/title_icon_size_3"
            android:layout_height="@dimen/title_icon_size_3"
            android:contentDescription="问题类型"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintRight_toRightOf="parent"
            android:layout_marginStart="@dimen/dimen8"
            android:layout_marginEnd="@dimen/dimen8"
            android:src="@drawable/ic_problem_type_vehicle_off"/>
 
        <TextView
            android:id="@+id/text_problem_category"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintTop_toBottomOf="@id/image_problem_category"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constrainedWidth="true"
            android:textColor="@drawable/selector_text_color_1"
            android:textSize="@dimen/textSize_16"
            android:text="车辆"/>
        <TextView
            android:id="@+id/text_rectified_problem"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintRight_toLeftOf="@id/textView1"
            app:layout_constraintBottom_toBottomOf="@id/textView1"
            android:text="0"
            android:textColor="@drawable/selector_text_color_1"/>
 
        <TextView
            android:id="@+id/textView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintRight_toLeftOf="@id/text_total_problem"
            app:layout_constraintBottom_toBottomOf="@id/text_total_problem"
            android:text="/"
            android:textColor="@drawable/selector_text_color_1"/>
 
        <TextView
            android:id="@+id/text_total_problem"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintTop_toBottomOf="@id/text_problem_category"
            android:text="6"
            android:textColor="@drawable/selector_text_color_1"/>
 
    </android.support.constraint.ConstraintLayout>
</android.support.v7.widget.CardView>