Google 致力于为黑人社区推动种族平等。查看具体举措

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).