CustomTabColorSchemeParams.Builder


public final class CustomTabColorSchemeParams.Builder


Builder class for CustomTabColorSchemeParams objects. The browser's default colors will be used for any unset value.

Summary

Public constructors

Public constructors

Builder

Added in 1.2.0
public Builder()

Public methods

build

Added in 1.2.0
public @NonNull CustomTabColorSchemeParams build()

Combines all the options that have been into a CustomTabColorSchemeParams object.

setNavigationBarColor

Added in 1.2.0
public @NonNull CustomTabColorSchemeParams.Builder setNavigationBarColor(@ColorInt int color)

setNavigationBarDividerColor

Added in 1.3.0
public @NonNull CustomTabColorSchemeParams.Builder setNavigationBarDividerColor(@ColorInt int color)

setSecondaryToolbarColor

Added in 1.2.0
public @NonNull CustomTabColorSchemeParams.Builder setSecondaryToolbarColor(@ColorInt int color)

setToolbarColor

Added in 1.2.0
public @NonNull CustomTabColorSchemeParams.Builder setToolbarColor(@ColorInt int color)
See also
setToolbarColor