Showing
12 changed files
with
91 additions
and
57 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,61 +34,37 @@ | ... | @@ -34,61 +34,37 @@ |
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 | ||
38 | - android:layout_width="match_parent" | ||
39 | - android:layout_height="wrap_content" | ||
40 | - android:layout_gravity="top" | ||
41 | - android:layout_weight="1" | ||
42 | - android:gravity="top" | ||
43 | - android:orientation="horizontal"> | ||
44 | - | ||
45 | <androidx.viewpager.widget.ViewPager | 37 | <androidx.viewpager.widget.ViewPager |
46 | android:id="@+id/welcomeViewPager" | 38 | android:id="@+id/welcomeViewPager" |
47 | android:layout_width="match_parent" | 39 | android:layout_width="match_parent" |
48 | - android:layout_height="262dp" | 40 | + android:layout_height="wrap_content" |
49 | android:layout_gravity="top" | 41 | android:layout_gravity="top" |
50 | - android:layout_weight="1"> | 42 | + android:layout_weight="1" |
43 | + android:elevation="-7dp"> | ||
51 | 44 | ||
52 | </androidx.viewpager.widget.ViewPager> | 45 | </androidx.viewpager.widget.ViewPager> |
53 | - </LinearLayout> | ||
54 | 46 | ||
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" | 61 | + |
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> | 62 | </LinearLayout> |
87 | ---> | ||
88 | 63 | ||
89 | <LinearLayout | 64 | <LinearLayout |
90 | android:layout_width="match_parent" | 65 | android:layout_width="match_parent" |
91 | android:layout_height="wrap_content" | 66 | android:layout_height="wrap_content" |
67 | + android:layout_gravity="center" | ||
92 | android:layout_margin="15dp" | 68 | android:layout_margin="15dp" |
93 | android:layout_weight="1" | 69 | android:layout_weight="1" |
94 | android:background="@drawable/edgemaking" | 70 | android:background="@drawable/edgemaking" |
... | @@ -115,10 +91,10 @@ | ... | @@ -115,10 +91,10 @@ |
115 | 91 | ||
116 | <Button | 92 | <Button |
117 | android:id="@+id/kyoyookButton" | 93 | android:id="@+id/kyoyookButton" |
118 | - android:layout_width="80dp" | 94 | + android:layout_width="50dp" |
119 | - android:layout_height="80dp" | 95 | + android:layout_height="50dp" |
120 | android:layout_gravity="center" | 96 | android:layout_gravity="center" |
121 | - android:background="@drawable/kyoyook_icon" | 97 | + android:background="@drawable/homecat1" |
122 | android:gravity="center" /> | 98 | android:gravity="center" /> |
123 | 99 | ||
124 | <TextView | 100 | <TextView |
... | @@ -144,10 +120,10 @@ | ... | @@ -144,10 +120,10 @@ |
144 | 120 | ||
145 | <Button | 121 | <Button |
146 | android:id="@+id/koyongButton" | 122 | android:id="@+id/koyongButton" |
147 | - android:layout_width="80dp" | 123 | + android:layout_width="50dp" |
148 | - android:layout_height="80dp" | 124 | + android:layout_height="50dp" |
149 | android:layout_gravity="center" | 125 | android:layout_gravity="center" |
150 | - android:background="@drawable/koyong_icon" | 126 | + android:background="@drawable/homecat2" |
151 | android:gravity="center" /> | 127 | android:gravity="center" /> |
152 | 128 | ||
153 | <TextView | 129 | <TextView |
... | @@ -173,10 +149,10 @@ | ... | @@ -173,10 +149,10 @@ |
173 | 149 | ||
174 | <Button | 150 | <Button |
175 | android:id="@+id/joogeoButton" | 151 | android:id="@+id/joogeoButton" |
176 | - android:layout_width="80dp" | 152 | + android:layout_width="50dp" |
177 | - android:layout_height="80dp" | 153 | + android:layout_height="50dp" |
178 | android:layout_gravity="center" | 154 | android:layout_gravity="center" |
179 | - android:background="@drawable/joogeo_icon" | 155 | + android:background="@drawable/homecat3" |
180 | android:gravity="center" /> | 156 | android:gravity="center" /> |
181 | 157 | ||
182 | <TextView | 158 | <TextView |
... | @@ -194,6 +170,12 @@ | ... | @@ -194,6 +170,12 @@ |
194 | 170 | ||
195 | <LinearLayout | 171 | <LinearLayout |
196 | android:layout_width="match_parent" | 172 | android:layout_width="match_parent" |
173 | + android:layout_height="match_parent" | ||
174 | + android:layout_weight="1" | ||
175 | + android:orientation="horizontal"></LinearLayout> | ||
176 | + | ||
177 | + <LinearLayout | ||
178 | + android:layout_width="match_parent" | ||
197 | android:layout_height="wrap_content" | 179 | android:layout_height="wrap_content" |
198 | android:layout_marginTop="15dp" | 180 | android:layout_marginTop="15dp" |
199 | android:layout_marginBottom="15dp" | 181 | android:layout_marginBottom="15dp" |
... | @@ -212,10 +194,10 @@ | ... | @@ -212,10 +194,10 @@ |
212 | 194 | ||
213 | <Button | 195 | <Button |
214 | android:id="@+id/geongangButton" | 196 | android:id="@+id/geongangButton" |
215 | - android:layout_width="80dp" | 197 | + android:layout_width="50dp" |
216 | - android:layout_height="80dp" | 198 | + android:layout_height="50dp" |
217 | android:layout_gravity="center" | 199 | android:layout_gravity="center" |
218 | - android:background="@drawable/health_icon" | 200 | + android:background="@drawable/homecat4" |
219 | android:gravity="center" /> | 201 | android:gravity="center" /> |
220 | 202 | ||
221 | <TextView | 203 | <TextView |
... | @@ -241,10 +223,10 @@ | ... | @@ -241,10 +223,10 @@ |
241 | 223 | ||
242 | <Button | 224 | <Button |
243 | android:id="@+id/seominButton" | 225 | android:id="@+id/seominButton" |
244 | - android:layout_width="80dp" | 226 | + android:layout_width="50dp" |
245 | - android:layout_height="80dp" | 227 | + android:layout_height="50dp" |
246 | android:layout_gravity="center" | 228 | android:layout_gravity="center" |
247 | - android:background="@drawable/seomin_icon" | 229 | + android:background="@drawable/homecat5" |
248 | android:gravity="center" /> | 230 | android:gravity="center" /> |
249 | 231 | ||
250 | <TextView | 232 | <TextView |
... | @@ -253,7 +235,7 @@ | ... | @@ -253,7 +235,7 @@ |
253 | android:layout_height="wrap_content" | 235 | android:layout_height="wrap_content" |
254 | android:layout_gravity="center" | 236 | android:layout_gravity="center" |
255 | android:gravity="center" | 237 | android:gravity="center" |
256 | - android:text="서민금융" | 238 | + android:text="금융" |
257 | android:textColor="#4A4A4A" | 239 | android:textColor="#4A4A4A" |
258 | android:textSize="13dp" /> | 240 | android:textSize="13dp" /> |
259 | </LinearLayout> | 241 | </LinearLayout> |
... | @@ -270,10 +252,10 @@ | ... | @@ -270,10 +252,10 @@ |
270 | 252 | ||
271 | <Button | 253 | <Button |
272 | android:id="@+id/moonhwaButton" | 254 | android:id="@+id/moonhwaButton" |
273 | - android:layout_width="80dp" | 255 | + android:layout_width="50dp" |
274 | - android:layout_height="80dp" | 256 | + android:layout_height="50dp" |
275 | android:layout_gravity="center" | 257 | android:layout_gravity="center" |
276 | - android:background="@drawable/moonhwa_icon" | 258 | + android:background="@drawable/homecat6" |
277 | android:gravity="center" /> | 259 | android:gravity="center" /> |
278 | 260 | ||
279 | <TextView | 261 | <TextView |
... | @@ -289,6 +271,48 @@ | ... | @@ -289,6 +271,48 @@ |
289 | </LinearLayout> | 271 | </LinearLayout> |
290 | </LinearLayout> | 272 | </LinearLayout> |
291 | 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 | + | ||
280 | + </LinearLayout> | ||
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