NavigationDrawerItemColors

class NavigationDrawerItemColors


Defines container & content color Color for all TV Indication states of a NavigationDrawerItem

Summary

Public constructors

NavigationDrawerItemColors(
    containerColor: Color,
    contentColor: Color,
    inactiveContentColor: Color,
    focusedContainerColor: Color,
    focusedContentColor: Color,
    pressedContainerColor: Color,
    pressedContentColor: Color,
    selectedContainerColor: Color,
    selectedContentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color,
    disabledInactiveContentColor: Color,
    focusedSelectedContainerColor: Color,
    focusedSelectedContentColor: Color,
    pressedSelectedContainerColor: Color,
    pressedSelectedContentColor: Color
)

create an instance with arbitrary colors.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Color

the default container color used when the NavigationDrawerItem is enabled

Color

the default content color used when the NavigationDrawerItem is enabled

Color

the container color used when the NavigationDrawerItem is not enabled

Color

the content color used when the NavigationDrawerItem is not enabled

Color

the content color used when none of the navigation items have focus and this item is disabled

Color

the container color used when the NavigationDrawerItem is enabled and focused

Color

the content color used when the NavigationDrawerItem is enabled and focused

Color

the container color used when the NavigationDrawerItem is enabled, focused and selected

Color

the content color used when the NavigationDrawerItem is enabled, focused and selected

Color

the content color used when none of the navigation items have focus

Color

the container color used when the NavigationDrawerItem is enabled and pressed

Color

the content color used when the NavigationDrawerItem is enabled and pressed

Color

the container color used when the NavigationDrawerItem is enabled, pressed and selected

Color

the content color used when the NavigationDrawerItem is enabled, pressed and selected

Color

the container color used when the NavigationDrawerItem is enabled and selected

Color

the content color used when the NavigationDrawerItem is enabled and selected

Public constructors

NavigationDrawerItemColors(
    containerColor: Color,
    contentColor: Color,
    inactiveContentColor: Color,
    focusedContainerColor: Color,
    focusedContentColor: Color,
    pressedContainerColor: Color,
    pressedContentColor: Color,
    selectedContainerColor: Color,
    selectedContentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color,
    disabledInactiveContentColor: Color,
    focusedSelectedContainerColor: Color,
    focusedSelectedContentColor: Color,
    pressedSelectedContainerColor: Color,
    pressedSelectedContentColor: Color
)

create an instance with arbitrary colors. See NavigationDrawerItemDefaults.colors for the default colors used in a NavigationDrawerItem

Parameters
containerColor: Color

the default container color used when the NavigationDrawerItem is enabled

contentColor: Color

the default content color used when the NavigationDrawerItem is enabled

inactiveContentColor: Color

the content color used when none of the navigation items have focus

focusedContainerColor: Color

the container color used when the NavigationDrawerItem is enabled and focused

focusedContentColor: Color

the content color used when the NavigationDrawerItem is enabled and focused

pressedContainerColor: Color

the container color used when the NavigationDrawerItem is enabled and pressed

pressedContentColor: Color

the content color used when the NavigationDrawerItem is enabled and pressed

selectedContainerColor: Color

the container color used when the NavigationDrawerItem is enabled and selected

selectedContentColor: Color

the content color used when the NavigationDrawerItem is enabled and selected

disabledContainerColor: Color

the container color used when the NavigationDrawerItem is not enabled

disabledContentColor: Color

the content color used when the NavigationDrawerItem is not enabled

disabledInactiveContentColor: Color

the content color used when none of the navigation items have focus and this item is disabled

focusedSelectedContainerColor: Color

the container color used when the NavigationDrawerItem is enabled, focused and selected

focusedSelectedContentColor: Color

the content color used when the NavigationDrawerItem is enabled, focused and selected

pressedSelectedContainerColor: Color

the container color used when the NavigationDrawerItem is enabled, pressed and selected

pressedSelectedContentColor: Color

the content color used when the NavigationDrawerItem is enabled, pressed and selected

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

containerColor

Added in 1.0.0
val containerColorColor

the default container color used when the NavigationDrawerItem is enabled

contentColor

Added in 1.0.0
val contentColorColor

the default content color used when the NavigationDrawerItem is enabled

disabledContainerColor

Added in 1.0.0
val disabledContainerColorColor

the container color used when the NavigationDrawerItem is not enabled

disabledContentColor

Added in 1.0.0
val disabledContentColorColor

the content color used when the NavigationDrawerItem is not enabled

disabledInactiveContentColor

Added in 1.0.0
val disabledInactiveContentColorColor

the content color used when none of the navigation items have focus and this item is disabled

focusedContainerColor

Added in 1.0.0
val focusedContainerColorColor

the container color used when the NavigationDrawerItem is enabled and focused

focusedContentColor

Added in 1.0.0
val focusedContentColorColor

the content color used when the NavigationDrawerItem is enabled and focused

focusedSelectedContainerColor

Added in 1.0.0
val focusedSelectedContainerColorColor

the container color used when the NavigationDrawerItem is enabled, focused and selected

focusedSelectedContentColor

Added in 1.0.0
val focusedSelectedContentColorColor

the content color used when the NavigationDrawerItem is enabled, focused and selected

inactiveContentColor

Added in 1.0.0
val inactiveContentColorColor

the content color used when none of the navigation items have focus

pressedContainerColor

Added in 1.0.0
val pressedContainerColorColor

the container color used when the NavigationDrawerItem is enabled and pressed

pressedContentColor

Added in 1.0.0
val pressedContentColorColor

the content color used when the NavigationDrawerItem is enabled and pressed

pressedSelectedContainerColor

Added in 1.0.0
val pressedSelectedContainerColorColor

the container color used when the NavigationDrawerItem is enabled, pressed and selected

pressedSelectedContentColor

Added in 1.0.0
val pressedSelectedContentColorColor

the content color used when the NavigationDrawerItem is enabled, pressed and selected

selectedContainerColor

Added in 1.0.0
val selectedContainerColorColor

the container color used when the NavigationDrawerItem is enabled and selected

selectedContentColor

Added in 1.0.0
val selectedContentColorColor

the content color used when the NavigationDrawerItem is enabled and selected