CustomTabColorSchemeParams.Builder


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
Builder()

Public functions

build

Added in 1.2.0
fun build(): CustomTabColorSchemeParams

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

setNavigationBarColor

Added in 1.2.0
fun setNavigationBarColor(color: @ColorInt Int): CustomTabColorSchemeParams.Builder

setNavigationBarDividerColor

Added in 1.3.0
fun setNavigationBarDividerColor(color: @ColorInt Int): CustomTabColorSchemeParams.Builder

setSecondaryToolbarColor

Added in 1.2.0
fun setSecondaryToolbarColor(color: @ColorInt Int): CustomTabColorSchemeParams.Builder

setToolbarColor

Added in 1.2.0
fun setToolbarColor(color: @ColorInt Int): CustomTabColorSchemeParams.Builder
See also
setToolbarColor