How to make icon label in single line without breaking it, Reducing font size help but making smaller makes hard to read.
Bottom Navigation implementation :
BottomNavigation(backgroundColor = Color.White) {
items.forEach { item ->
BottomNavigationItem(
selected = currentRoute == item.route,
onClick = { /*TODO*/ },
icon = {
if (currentRoute == item.route) ActiveIcon(item.activeIcon)
else Icon(painterResource(item.disableIcon), null)
},
label = {
Text(
stringResource(item.title), // Label
fontWeight = FontWeight.SemiBold
)
},
)
}
}
