NavigationDrawerItemColors
Class
Android
class NavigationDrawerItemColors(
val containerColor: Color,
val contentColor: Color,
val inactiveContentColor: Color,
val focusedContainerColor: Color,
val focusedContentColor: Color,
val pressedContainerColor: Color,
val pressedContentColor: Color,
val selectedContainerColor: Color,
val selectedContentColor: Color,
val disabledContainerColor: Color,
val disabledContentColor: Color,
val disabledInactiveContentColor: Color,
val focusedSelectedContainerColor: Color,
val focusedSelectedContentColor: Color,
val pressedSelectedContainerColor: Color,
val pressedSelectedContentColor: Color
)
Defines container & content color Color
for all TV Indication
states of a
NavigationDrawerItem
Parameters
containerColor | the default container color used when the NavigationDrawerItem is enabled |
contentColor | the default content color used when the NavigationDrawerItem is enabled |
inactiveContentColor | the content color used when none of the navigation items have focus |
focusedContainerColor | the container color used when the NavigationDrawerItem is enabled and focused |
focusedContentColor | the content color used when the NavigationDrawerItem is enabled and focused |
pressedContainerColor | the container color used when the NavigationDrawerItem is enabled and pressed |
pressedContentColor | the content color used when the NavigationDrawerItem is enabled and pressed |
selectedContainerColor | the container color used when the NavigationDrawerItem is enabled and selected |
selectedContentColor | the content color used when the NavigationDrawerItem is enabled and selected |
disabledContainerColor | the container color used when the NavigationDrawerItem is not enabled |
disabledContentColor | the content color used when the NavigationDrawerItem is not enabled |
disabledInactiveContentColor | the content color used when none of the navigation items have focus and this item is disabled |
focusedSelectedContainerColor | the container color used when the NavigationDrawerItem is enabled, focused and selected |
focusedSelectedContentColor | the content color used when the NavigationDrawerItem is enabled, focused and selected |
pressedSelectedContainerColor | the container color used when the NavigationDrawerItem is enabled, pressed and selected |
pressedSelectedContentColor | the content color used when the NavigationDrawerItem is enabled, pressed and selected |