Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

CustomTabColorSchemeParams

class CustomTabColorSchemeParams
kotlin.Any
   ↳ androidx.browser.customtabs.CustomTabColorSchemeParams

Contains visual parameters of a Custom Tab that may depend on the color scheme.

Summary

Nested classes

Builder class for CustomTabColorSchemeParams objects.

Properties

Int?

Navigation bar color.

Int?

Secondary toolbar color.

Int?

Toolbar color.

Properties

navigationBarColor

@Nullable val navigationBarColor: Int?

Navigation bar color. See CustomTabsIntent.Builder#setNavigationBarColor(int).

secondaryToolbarColor

@Nullable val secondaryToolbarColor: Int?

Secondary toolbar color. See CustomTabsIntent.Builder#setSecondaryToolbarColor(int).

toolbarColor

@Nullable val toolbarColor: Int?

Toolbar color. See CustomTabsIntent.Builder#setToolbarColor(int).