protected sealed override void Initialize() { base.Initialize(); var theme = _themeManager.GetThemeFromColor("blue"); StatusBarColor = theme.Dark; NavigationBarColor = theme.Primary; BackgroundColor = theme.Primary; }
protected override void Initialize() { var color = _themeManager.GetThemeFromColor("indigo"); StatusBarColor = color.Dark; ActionBarBackgroundColor = color.Primary; NavigationBarColor = Color.Black; base.Initialize(); }
public BasketPage(IThemeManager themeManager) { InitializeComponent(); var theme = themeManager.GetThemeFromColor("green"); ActionBarBackgroundColor = theme.Primary; NavigationBarColor = theme.Dark; StatusBarColor = theme.Dark; orders.ItemSelected += Orders_ItemSelected; }
public SignInPage(IThemeManager themeManager) { InitializeComponent(); var theme = themeManager.GetThemeFromColor("red"); StatusBarColor = theme.Dark; ActionBarBackgroundColor = theme.Primary; //SignInViewModel.Login.Subscribe(async x => //{ // await AnimateControls(0, Easing.SinOut); // SignInViewModel.NavigateToMainPage(x); // SignInViewModel.IsBusy = false; //}); }
public FoodsPage(IThemeManager themeManager) { InitializeComponent(); var theme = themeManager.GetThemeFromColor("bluePink"); ActionBarBackgroundColor = theme.Primary; StatusBarColor = theme.Dark; NavigationBarColor = theme.Dark; ActionBarTextColor = Color.White; Title = "Foods"; _itemSelectedSubscriber = Observable.FromEventPattern <SelectedItemChangedEventArgs>(FoodsList, "ItemSelected") .Select(x => x.Sender) .Cast <ListView>() .Subscribe(l => { l.SelectedItem = null; }); }