soonmyeong2

make bottom bar

...@@ -36,7 +36,7 @@ dependencies { ...@@ -36,7 +36,7 @@ dependencies {
36 androidTestImplementation 'androidx.test:runner:1.2.0' 36 androidTestImplementation 'androidx.test:runner:1.2.0'
37 androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' 37 androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
38 implementation 'androidx.recyclerview:recyclerview:1.1.0-beta05' 38 implementation 'androidx.recyclerview:recyclerview:1.1.0-beta05'
39 - 39 + implementation 'com.google.android.material:material:1.1.0-beta01'
40 } 40 }
41 41
42 apply plugin: 'com.google.gms.google-services' 42 apply plugin: 'com.google.gms.google-services'
......
...@@ -33,19 +33,31 @@ ...@@ -33,19 +33,31 @@
33 <androidx.recyclerview.widget.RecyclerView 33 <androidx.recyclerview.widget.RecyclerView
34 android:id="@+id/policyFieldRecyclerView" 34 android:id="@+id/policyFieldRecyclerView"
35 android:layout_width="match_parent" 35 android:layout_width="match_parent"
36 - android:layout_height="300dp" 36 + android:layout_height="178dp"
37 app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" 37 app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
38 app:spanCount="3" 38 app:spanCount="3"
39 tools:listitem="@layout/item_policyfield" /> 39 tools:listitem="@layout/item_policyfield" />
40 40
41 - <TextView 41 +
42 - android:id="@+id/space_snackbar" 42 +
43 + </LinearLayout>
44 +
45 + <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
46 + xmlns:app="http://schemas.android.com/apk/res-auto"
47 + xmlns:tools="http://schemas.android.com/tools"
48 + android:layout_width="match_parent"
49 + android:layout_height="match_parent">
50 +
51 + <com.google.android.material.bottomnavigation.BottomNavigationView
52 + android:layout_gravity="bottom"
53 + app:menu="@menu/bottom_navigation_menu"
43 android:layout_width="match_parent" 54 android:layout_width="match_parent"
44 android:layout_height="wrap_content" 55 android:layout_height="wrap_content"
45 - android:text="스낵바창" /> 56 + app:backgroundTint="@color/design_default_color_background"
57 + app:labelVisibilityMode="labeled"/>
58 + </FrameLayout>
46 59
47 60
48 - </LinearLayout>
49 61
62 +</androidx.constraintlayout.widget.ConstraintLayout>
50 63
51 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
......
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<menu xmlns:android="http://schemas.android.com/apk/res/android">
3 +
4 + <item android:title="@string/alarm"
5 + android:id="@+id/bottomNavigationAlarmMenuId"
6 + android:icon="@drawable/home"/>
7 +
8 + <item android:title="@string/clock"
9 + android:id="@+id/bottomNavigationClockMenuId"
10 + android:icon="@drawable/instagram"/>
11 +
12 + <item android:title="@string/timer"
13 + android:id="@+id/bottomNavigationTimerMenuId"
14 + android:icon="@drawable/wish"/>
15 +
16 + <item android:title="@string/stopwatch"
17 + android:id="@+id/bottomNavigationStopWatchMenuId"
18 + android:icon="@drawable/info"/>
19 +</menu>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3 - <background android:drawable="@drawable/ic_launcher_background" /> 3 + <background android:drawable="@color/ic_launcher_background"/>
4 - <foreground android:drawable="@drawable/ic_launcher_foreground" /> 4 + <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5 </adaptive-icon> 5 </adaptive-icon>
...\ No newline at end of file ...\ No newline at end of file
......
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 2 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3 - <background android:drawable="@drawable/ic_launcher_background" /> 3 + <background android:drawable="@color/ic_launcher_background"/>
4 - <foreground android:drawable="@drawable/ic_launcher_foreground" /> 4 + <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5 </adaptive-icon> 5 </adaptive-icon>
...\ No newline at end of file ...\ No newline at end of file
......

2.89 KB | W: | H:

2.28 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.79 KB | W: | H:

4.34 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.01 KB | W: | H:

1.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

2.72 KB | W: | H:

2.42 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

4.38 KB | W: | H:

3.56 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

6.73 KB | W: | H:

6.78 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

6.24 KB | W: | H:

6.97 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

10.2 KB | W: | H:

12.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

8.91 KB | W: | H:

11.5 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

14.8 KB | W: | H:

20.2 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<resources>
3 + <color name="ic_launcher_background">#FFFFFF</color>
4 +</resources>
...\ No newline at end of file ...\ No newline at end of file
1 <resources> 1 <resources>
2 - <string name="app_name">vip</string> 2 + <string name="app_name">WELLO</string>
3 3
4 <string name="title01">교육</string> 4 <string name="title01">교육</string>
5 <string name="title02">고용</string> 5 <string name="title02">고용</string>
...@@ -11,4 +11,10 @@ ...@@ -11,4 +11,10 @@
11 <string name="title08">빈카테고리</string> 11 <string name="title08">빈카테고리</string>
12 <string name="title09">빈카테고리</string> 12 <string name="title09">빈카테고리</string>
13 <string name="title10">빈카테고리</string> 13 <string name="title10">빈카테고리</string>
14 +
15 + <string name= "alarm">Home</string>
16 + <string name= "clock">추천정책</string>
17 + <string name= "timer">찜 목록</string>
18 + <string name= "stopwatch">내 정보</string>
19 +
14 </resources> 20 </resources>
......