Skip to content

ColorSchemeOptions

Color customization for the in-app browser's toolbar, navigation bar, and navigation bar divider. Properties left as null use the system or browser default. Use ColorSchemeOptionsBuilder to create instances.

Kodster.InAppWebBrowser.Android.ColorSchemeOptions

Creating Instances

#if UNITY_ANDROID
var colors = new ColorSchemeOptionsBuilder()
    .WithToolbarColor("#121212")
    .WithNavigationBarColor(Color.black)
    .WithNavigationBarDividerColor("#333333")
    .Build();
#endif

Properties

ToolbarColor

public string? ToolbarColor { get; internal set; }

Color of the in-app browser toolbar as a hex string (e.g., "#FF5733").

public string? NavigationBarColor { get; internal set; }

Color of the device navigation bar while the in-app browser is open, as a hex string (e.g., "#FF5733").

public string? NavigationBarDividerColor { get; internal set; }

Color of the divider line between the in-app browser content and the navigation bar, as a hex string (e.g., "#FF5733").