void SetColor(Color color)
        {
            if (!BarStyle.IsSupported())
            {
                return;
            }

            Activity.SetStatusBarColor(color.ToAndroid());
        }
        void SetStyle(StatusBarStyle style)
        {
            if (!BarStyle.IsSupported())
            {
                return;
            }

            switch (style)
            {
            case StatusBarStyle.DarkContent:
                BarStyle.AddBarAppearanceFlag(Activity, (StatusBarVisibility)SystemUiFlags.LightStatusBar);
                break;

            default:
                BarStyle.RemoveBarAppearanceFlag(Activity, (StatusBarVisibility)SystemUiFlags.LightStatusBar);
                break;
            }
        }