public static void Apply(UIToolbar.UIToolbarAppearance appearance, string options = null) { if (IsModern) { return; } appearance.BackgroundColor = BarTintColor; }
/// <summary> /// Apply this theme to all views with the given appearance. /// </summary> /// <param name="options"> /// "blue", or null /// </para> public static void Apply(UIToolbar.UIToolbarAppearance appearance, string options = null) { if (options == "blue") { appearance.SetBackgroundImage(blueNavigationBarBackground.Value, UIToolbarPosition.Any, UIBarMetrics.Default); } else { appearance.SetBackgroundImage(navigationBarBackground.Value, UIToolbarPosition.Any, UIBarMetrics.Default); } }
public static void Apply(UIToolbar.UIToolbarAppearance appearance, string options = null) { ConfirmTrackBeamTheme(); ThemeManager.Current.Apply(appearance); }