이제 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

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?

Secondary toolbar color.

Int?

Toolbar color.

Properties

navigationBarColor

@Nullable val navigationBarColor: Int?

Navigation bar color. See CustomTabsIntent.Builder#setNavigationBarColor(int).

secondaryToolbarColor

@Nullable val secondaryToolbarColor: Int?

Secondary toolbar color. See CustomTabsIntent.Builder#setSecondaryToolbarColor(int).

toolbarColor

@Nullable val toolbarColor: Int?

Toolbar color. See CustomTabsIntent.Builder#setToolbarColor(int).