public final class

CustomTabColorSchemeParams.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.browser.customtabs.CustomTabColorSchemeParams.Builder

Overview

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

Summary

Constructors
publicBuilder()

Methods
public CustomTabColorSchemeParamsbuild()

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

public CustomTabColorSchemeParams.BuildersetNavigationBarColor(int color)

public CustomTabColorSchemeParams.BuildersetNavigationBarDividerColor(int color)

public CustomTabColorSchemeParams.BuildersetSecondaryToolbarColor(int color)

public CustomTabColorSchemeParams.BuildersetToolbarColor(int color)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

public CustomTabColorSchemeParams.Builder setToolbarColor(int color)

See also: CustomTabsIntent.Builder.setToolbarColor(int)

public CustomTabColorSchemeParams.Builder setSecondaryToolbarColor(int color)

See also: CustomTabsIntent.Builder.setSecondaryToolbarColor(int)

public CustomTabColorSchemeParams.Builder setNavigationBarColor(int color)

See also: CustomTabsIntent.Builder.setNavigationBarColor(int)

public CustomTabColorSchemeParams.Builder setNavigationBarDividerColor(int color)

See also: CustomTabsIntent.Builder.setNavigationBarDividerColor(int)

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