customTabsCustomizer
A customizer for CustomTabsIntent.Builder.
Use this to customize the appearance and behavior of Custom Tabs, such as:
Setting toolbar color
Configuring exit animations
Adding menu items
Enabling instant apps
Example:
BrowserLauncher.customTabsCustomizer = {
setToolbarColor(Color.BLUE)
setShowTitle(true)
}Content copied to clipboard
WARNING: GLOBAL CONFIGURATION PROPERTY - NOT THREAD-SAFE Set this value during application initialization before any browser launches occur. Changes to this property will affect all subsequent browser launches across the entire app.