Showing
12 changed files
with
238 additions
and
204 deletions
... | @@ -12,9 +12,9 @@ class ViewPagerAdapter(private val context : Context) : PagerAdapter() { | ... | @@ -12,9 +12,9 @@ class ViewPagerAdapter(private val context : Context) : PagerAdapter() { |
12 | 12 | ||
13 | private var layoutInflater : LayoutInflater? = null | 13 | private var layoutInflater : LayoutInflater? = null |
14 | val Image = arrayOf( | 14 | val Image = arrayOf( |
15 | - R.drawable.image01, | 15 | + R.drawable.event1, |
16 | - R.drawable.image02, | 16 | + R.drawable.event2, |
17 | - R.drawable.image03 | 17 | + R.drawable.image01 |
18 | ) | 18 | ) |
19 | 19 | ||
20 | 20 | ... | ... |
vip/app/src/main/res/drawable-v24/event1.png
0 → 100644

31.7 KB
vip/app/src/main/res/drawable-v24/event2.png
0 → 100644

60.2 KB

7.94 KB

12.2 KB

5.86 KB

10.4 KB

13 KB

11.4 KB
vip/app/src/main/res/drawable/gradation.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | + <gradient | ||
4 | + android:startColor="#00000000" | ||
5 | + android:centerColor="#00000000" | ||
6 | + android:endColor="#26000000" | ||
7 | + android:angle="270"/> | ||
8 | + <!--android:centerY="0.95"--> | ||
9 | +</shape> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -34,261 +34,285 @@ | ... | @@ -34,261 +34,285 @@ |
34 | android:src="@drawable/toolbar_logo" /> | 34 | android:src="@drawable/toolbar_logo" /> |
35 | </androidx.appcompat.widget.Toolbar> | 35 | </androidx.appcompat.widget.Toolbar> |
36 | 36 | ||
37 | - <LinearLayout | 37 | + <androidx.viewpager.widget.ViewPager |
38 | + android:id="@+id/welcomeViewPager" | ||
38 | android:layout_width="match_parent" | 39 | android:layout_width="match_parent" |
39 | android:layout_height="wrap_content" | 40 | android:layout_height="wrap_content" |
40 | android:layout_gravity="top" | 41 | android:layout_gravity="top" |
41 | android:layout_weight="1" | 42 | android:layout_weight="1" |
42 | - android:gravity="top" | 43 | + android:elevation="-7dp"> |
43 | - android:orientation="horizontal"> | ||
44 | 44 | ||
45 | - <androidx.viewpager.widget.ViewPager | 45 | + </androidx.viewpager.widget.ViewPager> |
46 | - android:id="@+id/welcomeViewPager" | ||
47 | - android:layout_width="match_parent" | ||
48 | - android:layout_height="262dp" | ||
49 | - android:layout_gravity="top" | ||
50 | - android:layout_weight="1"> | ||
51 | 46 | ||
52 | - </androidx.viewpager.widget.ViewPager> | ||
53 | - </LinearLayout> | ||
54 | - | ||
55 | - <!-- | ||
56 | <LinearLayout | 47 | <LinearLayout |
57 | android:layout_width="match_parent" | 48 | android:layout_width="match_parent" |
58 | - android:layout_height="wrap_content" | 49 | + android:layout_height="match_parent" |
59 | android:layout_gravity="center" | 50 | android:layout_gravity="center" |
60 | - android:layout_marginLeft="16dp" | ||
61 | - android:layout_marginRight="16dp" | ||
62 | android:layout_weight="1" | 51 | android:layout_weight="1" |
63 | - android:foregroundGravity="center" | 52 | + android:elevation="5dp" |
64 | android:gravity="center" | 53 | android:gravity="center" |
65 | android:orientation="vertical"> | 54 | android:orientation="vertical"> |
66 | 55 | ||
67 | - <androidx.recyclerview.widget.RecyclerView | 56 | + <LinearLayout |
68 | - android:id="@+id/policyFieldRecyclerView" | 57 | + android:layout_width="match_parent" |
69 | - android:layout_width="wrap_content" | 58 | + android:layout_height="0dp" |
70 | - android:layout_height="wrap_content" | ||
71 | - | ||
72 | - android:layout_gravity="center_horizontal" | ||
73 | - android:layout_marginTop="7dp" | ||
74 | - android:layout_marginBottom="18dp" | ||
75 | android:layout_weight="1" | 59 | android:layout_weight="1" |
76 | - android:background="@drawable/round_ractagle_solid" | 60 | + android:orientation="horizontal"> |
77 | - android:foregroundGravity="center" | ||
78 | - android:paddingLeft="16dp" | ||
79 | - android:paddingTop="20dp" | ||
80 | - android:paddingRight="16dp" | ||
81 | - android:paddingBottom="20dp" | ||
82 | - app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" | ||
83 | - app:layout_constraintBottom_toBottomOf="@id/bottomNavigation" | ||
84 | - app:spanCount="3" | ||
85 | - tools:listitem="@layout/item_policyfield" /> | ||
86 | - </LinearLayout> | ||
87 | ---> | ||
88 | 61 | ||
89 | - <LinearLayout | 62 | + </LinearLayout> |
90 | - android:layout_width="match_parent" | ||
91 | - android:layout_height="wrap_content" | ||
92 | - android:layout_margin="15dp" | ||
93 | - android:layout_weight="1" | ||
94 | - android:background="@drawable/edgemaking" | ||
95 | - android:gravity="center" | ||
96 | - android:orientation="vertical"> | ||
97 | 63 | ||
98 | <LinearLayout | 64 | <LinearLayout |
99 | android:layout_width="match_parent" | 65 | android:layout_width="match_parent" |
100 | android:layout_height="wrap_content" | 66 | android:layout_height="wrap_content" |
101 | - android:layout_marginTop="15dp" | 67 | + android:layout_gravity="center" |
102 | - android:layout_marginBottom="15dp" | 68 | + android:layout_margin="15dp" |
69 | + android:layout_weight="1" | ||
70 | + android:background="@drawable/edgemaking" | ||
103 | android:gravity="center" | 71 | android:gravity="center" |
104 | - android:orientation="horizontal"> | 72 | + android:orientation="vertical"> |
105 | 73 | ||
106 | <LinearLayout | 74 | <LinearLayout |
107 | - android:layout_width="wrap_content" | 75 | + android:layout_width="match_parent" |
108 | android:layout_height="wrap_content" | 76 | android:layout_height="wrap_content" |
109 | - android:layout_gravity="center" | 77 | + android:layout_marginTop="15dp" |
110 | - android:layout_marginLeft="10dp" | 78 | + android:layout_marginBottom="15dp" |
111 | - android:layout_marginRight="10dp" | ||
112 | - android:layout_weight="1" | ||
113 | android:gravity="center" | 79 | android:gravity="center" |
114 | - android:orientation="vertical"> | 80 | + android:orientation="horizontal"> |
115 | - | ||
116 | - <Button | ||
117 | - android:id="@+id/kyoyookButton" | ||
118 | - android:layout_width="80dp" | ||
119 | - android:layout_height="80dp" | ||
120 | - android:layout_gravity="center" | ||
121 | - android:background="@drawable/kyoyook_icon" | ||
122 | - android:gravity="center" /> | ||
123 | 81 | ||
124 | - <TextView | 82 | + <LinearLayout |
125 | - android:id="@+id/kyoyooktextView" | 83 | + android:layout_width="wrap_content" |
126 | - android:layout_width="match_parent" | ||
127 | android:layout_height="wrap_content" | 84 | android:layout_height="wrap_content" |
128 | android:layout_gravity="center" | 85 | android:layout_gravity="center" |
86 | + android:layout_marginLeft="10dp" | ||
87 | + android:layout_marginRight="10dp" | ||
88 | + android:layout_weight="1" | ||
129 | android:gravity="center" | 89 | android:gravity="center" |
130 | - android:text="교육" | 90 | + android:orientation="vertical"> |
131 | - android:textColor="#4A4A4A" | 91 | + |
132 | - android:textSize="13dp" /> | 92 | + <Button |
133 | - </LinearLayout> | 93 | + android:id="@+id/kyoyookButton" |
134 | - | 94 | + android:layout_width="50dp" |
135 | - <LinearLayout | 95 | + android:layout_height="50dp" |
136 | - android:layout_width="wrap_content" | 96 | + android:layout_gravity="center" |
137 | - android:layout_height="wrap_content" | 97 | + android:background="@drawable/homecat1" |
138 | - android:layout_gravity="center" | 98 | + android:gravity="center" /> |
139 | - android:layout_marginLeft="10dp" | 99 | + |
140 | - android:layout_marginRight="10dp" | 100 | + <TextView |
141 | - android:layout_weight="1" | 101 | + android:id="@+id/kyoyooktextView" |
142 | - android:gravity="center" | 102 | + android:layout_width="match_parent" |
143 | - android:orientation="vertical"> | 103 | + android:layout_height="wrap_content" |
144 | - | 104 | + android:layout_gravity="center" |
145 | - <Button | 105 | + android:gravity="center" |
146 | - android:id="@+id/koyongButton" | 106 | + android:text="교육" |
147 | - android:layout_width="80dp" | 107 | + android:textColor="#4A4A4A" |
148 | - android:layout_height="80dp" | 108 | + android:textSize="13dp" /> |
149 | - android:layout_gravity="center" | 109 | + </LinearLayout> |
150 | - android:background="@drawable/koyong_icon" | 110 | + |
151 | - android:gravity="center" /> | 111 | + <LinearLayout |
152 | - | 112 | + android:layout_width="wrap_content" |
153 | - <TextView | ||
154 | - android:id="@+id/koyongtextView" | ||
155 | - android:layout_width="match_parent" | ||
156 | android:layout_height="wrap_content" | 113 | android:layout_height="wrap_content" |
157 | android:layout_gravity="center" | 114 | android:layout_gravity="center" |
115 | + android:layout_marginLeft="10dp" | ||
116 | + android:layout_marginRight="10dp" | ||
117 | + android:layout_weight="1" | ||
158 | android:gravity="center" | 118 | android:gravity="center" |
159 | - android:text="고용" | 119 | + android:orientation="vertical"> |
160 | - android:textColor="#4A4A4A" | 120 | + |
161 | - android:textSize="13dp" /> | 121 | + <Button |
162 | - </LinearLayout> | 122 | + android:id="@+id/koyongButton" |
163 | - | 123 | + android:layout_width="50dp" |
164 | - <LinearLayout | 124 | + android:layout_height="50dp" |
165 | - android:layout_width="wrap_content" | 125 | + android:layout_gravity="center" |
166 | - android:layout_height="wrap_content" | 126 | + android:background="@drawable/homecat2" |
167 | - android:layout_gravity="center" | 127 | + android:gravity="center" /> |
168 | - android:layout_marginLeft="10dp" | 128 | + |
169 | - android:layout_marginRight="10dp" | 129 | + <TextView |
170 | - android:layout_weight="1" | 130 | + android:id="@+id/koyongtextView" |
171 | - android:gravity="center" | 131 | + android:layout_width="match_parent" |
172 | - android:orientation="vertical"> | 132 | + android:layout_height="wrap_content" |
173 | - | 133 | + android:layout_gravity="center" |
174 | - <Button | 134 | + android:gravity="center" |
175 | - android:id="@+id/joogeoButton" | 135 | + android:text="고용" |
176 | - android:layout_width="80dp" | 136 | + android:textColor="#4A4A4A" |
177 | - android:layout_height="80dp" | 137 | + android:textSize="13dp" /> |
178 | - android:layout_gravity="center" | 138 | + </LinearLayout> |
179 | - android:background="@drawable/joogeo_icon" | 139 | + |
180 | - android:gravity="center" /> | 140 | + <LinearLayout |
181 | - | 141 | + android:layout_width="wrap_content" |
182 | - <TextView | ||
183 | - android:id="@+id/joogeotextView" | ||
184 | - android:layout_width="match_parent" | ||
185 | android:layout_height="wrap_content" | 142 | android:layout_height="wrap_content" |
186 | android:layout_gravity="center" | 143 | android:layout_gravity="center" |
144 | + android:layout_marginLeft="10dp" | ||
145 | + android:layout_marginRight="10dp" | ||
146 | + android:layout_weight="1" | ||
187 | android:gravity="center" | 147 | android:gravity="center" |
188 | - android:text="주거" | 148 | + android:orientation="vertical"> |
189 | - android:textColor="#4A4A4A" | 149 | + |
190 | - android:textSize="13dp" /> | 150 | + <Button |
191 | - </LinearLayout> | 151 | + android:id="@+id/joogeoButton" |
192 | - | 152 | + android:layout_width="50dp" |
193 | - </LinearLayout> | 153 | + android:layout_height="50dp" |
154 | + android:layout_gravity="center" | ||
155 | + android:background="@drawable/homecat3" | ||
156 | + android:gravity="center" /> | ||
157 | + | ||
158 | + <TextView | ||
159 | + android:id="@+id/joogeotextView" | ||
160 | + android:layout_width="match_parent" | ||
161 | + android:layout_height="wrap_content" | ||
162 | + android:layout_gravity="center" | ||
163 | + android:gravity="center" | ||
164 | + android:text="주거" | ||
165 | + android:textColor="#4A4A4A" | ||
166 | + android:textSize="13dp" /> | ||
167 | + </LinearLayout> | ||
194 | 168 | ||
195 | - <LinearLayout | 169 | + </LinearLayout> |
196 | - android:layout_width="match_parent" | ||
197 | - android:layout_height="wrap_content" | ||
198 | - android:layout_marginTop="15dp" | ||
199 | - android:layout_marginBottom="15dp" | ||
200 | - android:gravity="center" | ||
201 | - android:orientation="horizontal"> | ||
202 | 170 | ||
203 | <LinearLayout | 171 | <LinearLayout |
204 | - android:layout_width="wrap_content" | 172 | + android:layout_width="match_parent" |
205 | - android:layout_height="wrap_content" | 173 | + android:layout_height="match_parent" |
206 | - android:layout_gravity="center" | ||
207 | - android:layout_marginLeft="10dp" | ||
208 | - android:layout_marginRight="10dp" | ||
209 | android:layout_weight="1" | 174 | android:layout_weight="1" |
210 | - android:gravity="center" | 175 | + android:orientation="horizontal"></LinearLayout> |
211 | - android:orientation="vertical"> | ||
212 | - | ||
213 | - <Button | ||
214 | - android:id="@+id/geongangButton" | ||
215 | - android:layout_width="80dp" | ||
216 | - android:layout_height="80dp" | ||
217 | - android:layout_gravity="center" | ||
218 | - android:background="@drawable/health_icon" | ||
219 | - android:gravity="center" /> | ||
220 | - | ||
221 | - <TextView | ||
222 | - android:id="@+id/geongangtextView" | ||
223 | - android:layout_width="match_parent" | ||
224 | - android:layout_height="wrap_content" | ||
225 | - android:layout_gravity="center" | ||
226 | - android:gravity="center" | ||
227 | - android:text="건강" | ||
228 | - android:textColor="#4A4A4A" | ||
229 | - android:textSize="13dp" /> | ||
230 | - </LinearLayout> | ||
231 | 176 | ||
232 | <LinearLayout | 177 | <LinearLayout |
233 | - android:layout_width="wrap_content" | 178 | + android:layout_width="match_parent" |
234 | android:layout_height="wrap_content" | 179 | android:layout_height="wrap_content" |
235 | - android:layout_gravity="center" | 180 | + android:layout_marginTop="15dp" |
236 | - android:layout_marginLeft="10dp" | 181 | + android:layout_marginBottom="15dp" |
237 | - android:layout_marginRight="10dp" | ||
238 | - android:layout_weight="1" | ||
239 | android:gravity="center" | 182 | android:gravity="center" |
240 | - android:orientation="vertical"> | 183 | + android:orientation="horizontal"> |
241 | - | ||
242 | - <Button | ||
243 | - android:id="@+id/seominButton" | ||
244 | - android:layout_width="80dp" | ||
245 | - android:layout_height="80dp" | ||
246 | - android:layout_gravity="center" | ||
247 | - android:background="@drawable/seomin_icon" | ||
248 | - android:gravity="center" /> | ||
249 | 184 | ||
250 | - <TextView | 185 | + <LinearLayout |
251 | - android:id="@+id/seomintextView" | 186 | + android:layout_width="wrap_content" |
252 | - android:layout_width="match_parent" | ||
253 | android:layout_height="wrap_content" | 187 | android:layout_height="wrap_content" |
254 | android:layout_gravity="center" | 188 | android:layout_gravity="center" |
189 | + android:layout_marginLeft="10dp" | ||
190 | + android:layout_marginRight="10dp" | ||
191 | + android:layout_weight="1" | ||
255 | android:gravity="center" | 192 | android:gravity="center" |
256 | - android:text="서민금융" | 193 | + android:orientation="vertical"> |
257 | - android:textColor="#4A4A4A" | 194 | + |
258 | - android:textSize="13dp" /> | 195 | + <Button |
259 | - </LinearLayout> | 196 | + android:id="@+id/geongangButton" |
260 | - | 197 | + android:layout_width="50dp" |
261 | - <LinearLayout | 198 | + android:layout_height="50dp" |
262 | - android:layout_width="wrap_content" | 199 | + android:layout_gravity="center" |
263 | - android:layout_height="wrap_content" | 200 | + android:background="@drawable/homecat4" |
264 | - android:layout_gravity="center" | 201 | + android:gravity="center" /> |
265 | - android:layout_marginLeft="10dp" | 202 | + |
266 | - android:layout_marginRight="10dp" | 203 | + <TextView |
267 | - android:layout_weight="1" | 204 | + android:id="@+id/geongangtextView" |
268 | - android:gravity="center" | 205 | + android:layout_width="match_parent" |
269 | - android:orientation="vertical"> | 206 | + android:layout_height="wrap_content" |
270 | - | 207 | + android:layout_gravity="center" |
271 | - <Button | 208 | + android:gravity="center" |
272 | - android:id="@+id/moonhwaButton" | 209 | + android:text="건강" |
273 | - android:layout_width="80dp" | 210 | + android:textColor="#4A4A4A" |
274 | - android:layout_height="80dp" | 211 | + android:textSize="13dp" /> |
212 | + </LinearLayout> | ||
213 | + | ||
214 | + <LinearLayout | ||
215 | + android:layout_width="wrap_content" | ||
216 | + android:layout_height="wrap_content" | ||
275 | android:layout_gravity="center" | 217 | android:layout_gravity="center" |
276 | - android:background="@drawable/moonhwa_icon" | 218 | + android:layout_marginLeft="10dp" |
277 | - android:gravity="center" /> | 219 | + android:layout_marginRight="10dp" |
278 | - | 220 | + android:layout_weight="1" |
279 | - <TextView | 221 | + android:gravity="center" |
280 | - android:id="@+id/moonhwatextView" | 222 | + android:orientation="vertical"> |
281 | - android:layout_width="match_parent" | 223 | + |
224 | + <Button | ||
225 | + android:id="@+id/seominButton" | ||
226 | + android:layout_width="50dp" | ||
227 | + android:layout_height="50dp" | ||
228 | + android:layout_gravity="center" | ||
229 | + android:background="@drawable/homecat5" | ||
230 | + android:gravity="center" /> | ||
231 | + | ||
232 | + <TextView | ||
233 | + android:id="@+id/seomintextView" | ||
234 | + android:layout_width="match_parent" | ||
235 | + android:layout_height="wrap_content" | ||
236 | + android:layout_gravity="center" | ||
237 | + android:gravity="center" | ||
238 | + android:text="금융" | ||
239 | + android:textColor="#4A4A4A" | ||
240 | + android:textSize="13dp" /> | ||
241 | + </LinearLayout> | ||
242 | + | ||
243 | + <LinearLayout | ||
244 | + android:layout_width="wrap_content" | ||
282 | android:layout_height="wrap_content" | 245 | android:layout_height="wrap_content" |
283 | android:layout_gravity="center" | 246 | android:layout_gravity="center" |
247 | + android:layout_marginLeft="10dp" | ||
248 | + android:layout_marginRight="10dp" | ||
249 | + android:layout_weight="1" | ||
284 | android:gravity="center" | 250 | android:gravity="center" |
285 | - android:text="문화" | 251 | + android:orientation="vertical"> |
286 | - android:textColor="#4A4A4A" | 252 | + |
287 | - android:textSize="13dp" /> | 253 | + <Button |
254 | + android:id="@+id/moonhwaButton" | ||
255 | + android:layout_width="50dp" | ||
256 | + android:layout_height="50dp" | ||
257 | + android:layout_gravity="center" | ||
258 | + android:background="@drawable/homecat6" | ||
259 | + android:gravity="center" /> | ||
260 | + | ||
261 | + <TextView | ||
262 | + android:id="@+id/moonhwatextView" | ||
263 | + android:layout_width="match_parent" | ||
264 | + android:layout_height="wrap_content" | ||
265 | + android:layout_gravity="center" | ||
266 | + android:gravity="center" | ||
267 | + android:text="문화" | ||
268 | + android:textColor="#4A4A4A" | ||
269 | + android:textSize="13dp" /> | ||
270 | + </LinearLayout> | ||
288 | </LinearLayout> | 271 | </LinearLayout> |
289 | </LinearLayout> | 272 | </LinearLayout> |
273 | + | ||
274 | + <LinearLayout | ||
275 | + android:layout_width="match_parent" | ||
276 | + android:layout_height="0dp" | ||
277 | + android:layout_weight="1" | ||
278 | + android:orientation="horizontal"></LinearLayout> | ||
279 | + | ||
290 | </LinearLayout> | 280 | </LinearLayout> |
291 | 281 | ||
282 | + <!-- | ||
283 | + <LinearLayout | ||
284 | + android:layout_width="match_parent" | ||
285 | + android:layout_height="wrap_content" | ||
286 | + android:layout_gravity="center" | ||
287 | + android:layout_marginLeft="16dp" | ||
288 | + android:layout_marginRight="16dp" | ||
289 | + android:layout_weight="1" | ||
290 | + android:foregroundGravity="center" | ||
291 | + android:gravity="center" | ||
292 | + android:orientation="vertical"> | ||
293 | + | ||
294 | + <androidx.recyclerview.widget.RecyclerView | ||
295 | + android:id="@+id/policyFieldRecyclerView" | ||
296 | + android:layout_width="wrap_content" | ||
297 | + android:layout_height="wrap_content" | ||
298 | + | ||
299 | + android:layout_gravity="center_horizontal" | ||
300 | + android:layout_marginTop="7dp" | ||
301 | + android:layout_marginBottom="18dp" | ||
302 | + android:layout_weight="1" | ||
303 | + android:background="@drawable/round_ractagle_solid" | ||
304 | + android:foregroundGravity="center" | ||
305 | + android:paddingLeft="16dp" | ||
306 | + android:paddingTop="20dp" | ||
307 | + android:paddingRight="16dp" | ||
308 | + android:paddingBottom="20dp" | ||
309 | + app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" | ||
310 | + app:layout_constraintBottom_toBottomOf="@id/bottomNavigation" | ||
311 | + app:spanCount="3" | ||
312 | + tools:listitem="@layout/item_policyfield" /> | ||
313 | + </LinearLayout> | ||
314 | +--> | ||
315 | + | ||
292 | <com.google.android.material.bottomnavigation.BottomNavigationView | 316 | <com.google.android.material.bottomnavigation.BottomNavigationView |
293 | android:id="@+id/bottomNavigation" | 317 | android:id="@+id/bottomNavigation" |
294 | android:layout_width="match_parent" | 318 | android:layout_width="match_parent" | ... | ... |
... | @@ -10,5 +10,6 @@ | ... | @@ -10,5 +10,6 @@ |
10 | android:layout_width="match_parent" | 10 | android:layout_width="match_parent" |
11 | android:layout_height="wrap_content" | 11 | android:layout_height="wrap_content" |
12 | android:layout_weight="1" | 12 | android:layout_weight="1" |
13 | + android:foreground="@drawable/gradation" | ||
13 | tools:srcCompat="@tools:sample/avatars" /> | 14 | tools:srcCompat="@tools:sample/avatars" /> |
14 | </LinearLayout> | 15 | </LinearLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment