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
<?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:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".module.task.NewSubTaskActivity"
    android:fitsSystemWindows="true">
 
    <android.support.constraint.Guideline
        android:id="@+id/guide_line_1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        app:layout_constraintGuide_percent="0.2"/>
 
    <android.support.constraint.Guideline
        android:id="@+id/guide_line_2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        app:layout_constraintGuide_percent="0.9"/>
 
    <include layout="@layout/activity_base_map" />
 
    <include
        layout="@layout/layout_search_bar"
        android:layout_marginTop="24dp"
        android:layout_height="wrap_content"
        android:layout_width="0dp"
        android:layout_marginStart="@dimen/dimen8"
        android:layout_marginEnd="@dimen/dimen8"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent" />
 
    <cn.flightfeather.thirdappmodule.view.SlideSideBarView
        android:id="@+id/ssb_selected"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/guide_line_1"
        android:layout_marginStart="@dimen/dimen8"
        android:background="?android:attr/selectableItemBackground"
        tools:visibility="visible">
    </cn.flightfeather.thirdappmodule.view.SlideSideBarView>
 
    <cn.flightfeather.thirdappmodule.view.SlideSideBarView
        android:id="@+id/ssb_un_selected"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@id/guide_line_1"
        android:layout_marginEnd="@dimen/dimen8"
        android:background="?android:attr/selectableItemBackground"
        app:src="@drawable/ic_assignment_black_36dp">
    </cn.flightfeather.thirdappmodule.view.SlideSideBarView>
 
    <android.support.v7.widget.CardView
        android:id="@+id/cv_filter_monitor_num"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@id/ssb_un_selected"
        android:layout_marginEnd="@dimen/dimen8"
        app:cardElevation="@dimen/dimen6"
        android:alpha="0.7"
        android:layout_marginTop="@dimen/dimen8">
        <android.support.constraint.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:padding="@dimen/dimen2"
            android:layout_margin="@dimen/dimen2">
            <ImageView
                android:id="@+id/img_filter_monitor_num"
                android:layout_width="30dp"
                android:layout_height="30dp"
                android:src="@drawable/ic_inspection_status"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                android:visibility="visible"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@id/img_filter_monitor_num"
                android:text="监管次数"
                android:gravity="center"
                android:maxEms="2"
                android:textColor="@android:color/black"
                android:textStyle="bold"
                android:textSize="@dimen/textSize_notes"
                android:visibility="gone"/>
        </android.support.constraint.ConstraintLayout>
    </android.support.v7.widget.CardView>
 
    <android.support.v7.widget.CardView
        android:id="@+id/cv_filter"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@id/cv_filter_monitor_num"
        android:layout_marginEnd="@dimen/dimen8"
        app:cardElevation="@dimen/dimen6"
        android:alpha="0.7"
        android:layout_marginTop="@dimen/dimen8">
        <android.support.constraint.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:padding="@dimen/dimen2"
            android:layout_margin="@dimen/dimen2">
            <ImageView
                android:id="@+id/img_filter"
                android:layout_width="30dp"
                android:layout_height="30dp"
                android:src="@drawable/ic_scene_type"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                android:visibility="visible"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@id/img_filter"
                android:text="场景类型"
                android:gravity="center"
                android:maxEms="2"
                android:textColor="@android:color/black"
                android:textStyle="bold"
                android:textSize="@dimen/textSize_notes"
                android:visibility="gone"/>
        </android.support.constraint.ConstraintLayout>
    </android.support.v7.widget.CardView>
 
    <android.support.v7.widget.CardView
        android:id="@+id/cv_upload"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:cardBackgroundColor="@color/lightBlue"
        app:cardElevation="@dimen/dimen6"
        app:cardCornerRadius="@dimen/dimen6"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="@id/guide_line_2">
        <ImageView
            android:layout_width="100dp"
            android:layout_height="40dp"
            android:background="?attr/selectableItemBackgroundBorderless"
            android:src="@drawable/icon_upload" />
    </android.support.v7.widget.CardView>
 
</android.support.constraint.ConstraintLayout>