Join Slack
Hello there Can anyone help me with the designing of the BottomNavigationBar. I want to implement th...
# getting-started
m
Mahvi
05/09/2024, 4:42 AM
Hello there Can anyone help me with the designing of the BottomNavigationBar. I want to implement the design in the SS, but the indicator of material3 is not matching.
d
Devashish Bala
05/09/2024, 6:24 AM
NavigationBarItem(icon =
{
Icon( imageVector = item.icon, contentDescription = null, tint = if (item == selectedItem) _app_theme_colour_ else
LocalContentColor
.current )
}
, label =
{
CommonTextSizable( text = stringResource(id = item.title), fontSize = 10.
sp
, color = if (item == selectedItem) _app_theme_colour_ else Color.Unspecified )
}
, selected = false, onClick =
{
onBottomBarChange(item)
}
)
Devashish Bala
05/09/2024, 6:24 AM
try doing something like this
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by