riku
2025-07-02 3013b813e5df6977c0be921928f73b1a3adde290
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
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
        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"
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:baselineAligned="false"
        android:padding="@dimen/dimen8">
        <android.support.constraint.ConstraintLayout
                android:id="@+id/ll_item"
                android:layout_width="0dp"
                android:layout_height="match_parent"
            android:minHeight="40dp"
                android:layout_weight="2"
                android:orientation="horizontal"
                android:layout_marginEnd="@dimen/dimen4">
 
            <TextView
                    android:id="@+id/tv_item"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintEnd_toStartOf="@id/cl_max_point"
                    app:layout_constraintTop_toTopOf="parent"
                    app:layout_constraintBottom_toBottomOf="parent"
                    android:gravity="center_vertical"
                    android:textSize="12sp"
                    android:maxLines="4"
                    android:ellipsize="end"
                    android:textColor="@color/gray"/>
 
            <android.support.constraint.ConstraintLayout
                    android:id="@+id/cl_max_point"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    app:layout_constraintTop_toTopOf="parent"
                    app:layout_constraintBottom_toBottomOf="parent"
                    app:layout_constraintEnd_toEndOf="parent"
                    android:background="@drawable/text_bg_underway"
                    android:paddingStart="@dimen/dimen2"
                    android:paddingEnd="@dimen/dimen2">
                <TextView
                        android:id="@+id/tv_max_point_decade"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        app:layout_constraintStart_toStartOf="parent"
                        app:layout_constraintTop_toTopOf="parent"
                        android:textColor="@android:color/white"
                        android:textSize="@dimen/textSize_14"
                        tools:text="5"/>
 
                <TextView
                        android:id="@+id/tv_max_point_unit"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        app:layout_constraintStart_toEndOf="@id/tv_max_point_decade"
                        app:layout_constraintTop_toTopOf="@id/tv_max_point_decade"
                        android:layout_marginTop="@dimen/dimen4"
                        android:textColor="@android:color/white"
                        android:textSize="20sp"
                        android:visibility="gone"
                        tools:text="0"/>
 
                <TextView
                        android:id="@+id/tv_unit"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        app:layout_constraintBottom_toBottomOf="@id/tv_max_point_decade"
                        app:layout_constraintStart_toEndOf="@id/tv_max_point_decade"
                        android:textColor="@android:color/white"
                        android:textSize="10sp"
                        app:layout_constraintBaseline_toBaselineOf="@id/tv_max_point_decade"
                        android:text="@string/unit_point"/>
 
            </android.support.constraint.ConstraintLayout>
        </android.support.constraint.ConstraintLayout>
 
        <LinearLayout
            android:layout_width="0dp" android:baselineAligned="false"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:visibility="gone">
            <RelativeLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:layout_gravity="center"
                    android:orientation="horizontal">
 
                <ImageView
                    android:id="@+id/BT_minus"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:src="@drawable/selector_grade_minus"
                    android:padding="@dimen/dimen8"
                    android:layout_alignParentTop="true"
                    android:layout_alignParentStart="true" />
 
                <TextView
                        android:id="@+id/TV_grade"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_centerHorizontal="true"
                        android:layout_centerVertical="true"
                        android:textColor="@color/gray"
                        android:gravity="center"
                        android:layout_margin="@dimen/dimen4"
                        android:hint="分值" />
 
                <ImageView
                    android:id="@+id/BT_plus"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_alignParentRight="true"
                    android:layout_centerVertical="true"
                    android:src="@drawable/selector_grade_plus" />
            </RelativeLayout>
        </LinearLayout>
    </LinearLayout>
 
    <View
            android:layout_width="match_parent"
            android:layout_height="0.1dp"
            app:layout_constraintBottom_toBottomOf="parent"
            android:background="@color/lightGray"/>
 
</android.support.constraint.ConstraintLayout>