aurelhubert / ahbottomnavigation

A library to reproduce the behavior of the Bottom Navigation guidelines from Material Design.
3.83k stars 682 forks source link

How to change active icon size ? #344

Open ekrmh opened 6 years ago

ekrmh commented 6 years ago

How to change active icon size ?

val item1 = AHBottomNavigationItem("Home", R.drawable.home, R.color.colorAccent) val item2 = AHBottomNavigationItem("Settings", R.drawable.settings, R.color.colorAccent)
val item3 = AHBottomNavigationItem("Github", R.drawable.github, R.color.colorAccent)
val item4 = AHBottomNavigationItem("Android", R.drawable.android, R.color.colorAccent)
bottom_navigation.titleState = AHBottomNavigation.TitleState.ALWAYS_SHOW
bottom_navigation.addItems(mutableListOf(item1,item2,item3,item4))
bottom_navigation.accentColor = Color.BLACK

LiuShuaiQ commented 6 years ago

You can resize the image