CustomTabColorSchemeParams.Builder

public static final class CustomTabColorSchemeParams.Builder
extends Object

java.lang.Object
   ↳ androidx.browser.customtabs.CustomTabColorSchemeParams.Builder


Builder class for CustomTabColorSchemeParams objects.

Summary

Public constructors

CustomTabColorSchemeParams.Builder()

Public methods

CustomTabColorSchemeParams build()

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

CustomTabColorSchemeParams.Builder setNavigationBarColor(int color)
CustomTabColorSchemeParams.Builder setSecondaryToolbarColor(int color)
CustomTabColorSchemeParams.Builder setToolbarColor(int color)

Inherited methods

Public constructors

CustomTabColorSchemeParams.Builder

public CustomTabColorSchemeParams.Builder ()

Public methods

build

public CustomTabColorSchemeParams build ()

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

Returns
CustomTabColorSchemeParams

setNavigationBarColor

public CustomTabColorSchemeParams.Builder setNavigationBarColor (int color)

Parameters
color int

Returns
CustomTabColorSchemeParams.Builder

setSecondaryToolbarColor

public CustomTabColorSchemeParams.Builder setSecondaryToolbarColor (int color)

Parameters
color int

Returns
CustomTabColorSchemeParams.Builder

setToolbarColor

public CustomTabColorSchemeParams.Builder setToolbarColor (int color)

Parameters
color int

Returns
CustomTabColorSchemeParams.Builder