Android 12 Developer Preview is here! Try it out, and give us your feedback!

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?

Navigation bar color.

Int?

Secondary toolbar color.

Int?

Toolbar color.

Properties

@Nullable @ColorInt val navigationBarColor: Int?

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

@Nullable @ColorInt val navigationBarDividerColor: Int?

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

secondaryToolbarColor

@Nullable @ColorInt val secondaryToolbarColor: Int?

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

toolbarColor

@Nullable @ColorInt val toolbarColor: Int?

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