|
|
@ -199,13 +199,12 @@ object ATH { |
|
|
|
|
|
|
|
|
|
|
|
fun applyBottomNavigationColor(bottomBar: BottomNavigationView?) { |
|
|
|
fun applyBottomNavigationColor(bottomBar: BottomNavigationView?) { |
|
|
|
bottomBar?.apply { |
|
|
|
bottomBar?.apply { |
|
|
|
setBackgroundColor(ThemeStore.backgroundColor(context)) |
|
|
|
setBackgroundColor(ThemeStore.bottomBackground(context)) |
|
|
|
val colorStateList = Selector.colorBuild() |
|
|
|
val colorStateList = Selector.colorBuild() |
|
|
|
.setDefaultColor(context.getCompatColor(R.color.btn_bg_press_tp)) |
|
|
|
.setDefaultColor(context.getCompatColor(R.color.btn_bg_press_tp)) |
|
|
|
.setSelectedColor(ThemeStore.accentColor(bottom_navigation_view.context)).create() |
|
|
|
.setSelectedColor(ThemeStore.accentColor(bottom_navigation_view.context)).create() |
|
|
|
itemIconTintList = colorStateList |
|
|
|
itemIconTintList = colorStateList |
|
|
|
itemTextColor = colorStateList |
|
|
|
itemTextColor = colorStateList |
|
|
|
setBackgroundColor(ThemeStore.bottomBackground(context)) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|