Skip to content

Commit

Permalink
[FIX] BottomNavigation icon modify
Browse files Browse the repository at this point in the history
  • Loading branch information
HJinhee committed Apr 3, 2022
1 parent b2f13a5 commit a0e3cfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>(R.layout.activity_main) {
}

private fun initNavView() {
binding.navView.itemIconTintList = null
binding.apply {
userEmail = SharedInformation.getEmail(this@MainActivity)
navView.setOnItemSelectedListener {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:itemBackground="@color/fui_transparent"
app:menu="@menu/bottom_nav_menu" />

<androidx.fragment.app.FragmentContainerView
android:id="@+id/nav_host_fragment_activity_main"

android:layout_width="match_parent"
android:layout_height="match_parent"
app:defaultNavHost="true"
Expand Down

0 comments on commit a0e3cfc

Please sign in to comment.