search.xml
13.2 KB
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:orientation="vertical"
android:weightSum="2">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="11dp"
android:background="#FFF"
android:elevation="5dp"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="모든 정책 검색"
android:textSize="20dp"
android:textColor="#000"
android:layout_gravity="center"
android:layout_centerHorizontal="true" />
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_weight="1"
android:orientation="vertical">
<SearchView
android:id="@+id/searchForm"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="9dp"
android:layout_marginTop="30dp"
android:layout_marginRight="9dp"
android:layout_marginBottom="9dp"
android:queryBackground="@android:color/transparent"
android:background="@drawable/searchview_edge"
android:focusable="false"
android:layoutDirection="rtl"
android:paddingStart="7dp"
android:queryHint=" 정책명, 대상, 키워드를 입력하세요"
app:iconifiedByDefault="false"
app:showAsAction="always" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/searchRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_search">
</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>
<ImageView
android:id="@+id/no_matching"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="img"
android:visibility="gone"
app:srcCompat="@drawable/not_matching"
tools:srcCompat="@drawable/not_matching" />
<LinearLayout
android:id="@+id/hashtag_linear"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_weight="1.1"
android:orientation="vertical">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<View
android:id="@+id/view2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#6629ABE2" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.chip.ChipGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|center_horizontal|center_vertical"
android:layout_marginStart="17dp"
android:foregroundGravity="center_vertical|center|center_horizontal">
<com.google.android.material.chip.ChipGroup
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="가구상황별" />
<com.google.android.material.chip.ChipGroup
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
app:chipBackgroundColor="#C6FFFFFF"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:checkable="false"
android:text="# 장애인"
android:textAppearance="@style/TextAppearance.AppCompat" />
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 한부모"
android:textAppearance="@style/TextAppearance.AppCompat" />
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 다문화"
android:textAppearance="@style/TextAppearance.AppCompat" />
</com.google.android.material.chip.ChipGroup>
<com.google.android.material.chip.ChipGroup
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 저소득층"
android:textAppearance="@style/TextAppearance.AppCompat"
app:chipIcon="@drawable/image01" />
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 임신/출산"
android:textAppearance="@style/TextAppearance.AppCompat" />
</com.google.android.material.chip.ChipGroup>
</com.google.android.material.chip.ChipGroup>
<com.google.android.material.chip.ChipGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|center_horizontal|center_vertical"
android:foregroundGravity="center_vertical|center|center_horizontal">
<TextView
android:id="@+id/textVㅇiew"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="\n생애주기별" />
<com.google.android.material.chip.ChipGroup
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 아동"
android:textAppearance="@style/TextAppearance.AppCompat" />
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 청소년"
android:textAppearance="@style/TextAppearance.AppCompat" />
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 청년"
android:textAppearance="@style/TextAppearance.AppCompat" />
</com.google.android.material.chip.ChipGroup>
<com.google.android.material.chip.ChipGroup
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 중장년"
android:textAppearance="@style/TextAppearance.AppCompat"
app:chipIcon="@drawable/image01" />
<com.google.android.material.chip.Chip
style="@style/Widget.MaterialComponents.Chip.Choice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checkable="false"
app:chipBackgroundColor="#C6FFFFFF"
android:text="# 노년"
android:textAppearance="@style/TextAppearance.AppCompat" />
</com.google.android.material.chip.ChipGroup>
</com.google.android.material.chip.ChipGroup>
</com.google.android.material.chip.ChipGroup>
</FrameLayout>
</FrameLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>