async void Show(InputResultPage page) { MyLabel.FontSize *= 0.93; MyLayout.Opacity = 0; await MyLayout.FadeTo(1, 1000, Easing.Linear); page.Zavrsi(); await Application.Current.MainPage.Navigation.PopAsync(); }
public MainPage3() { _defaultButton = new Button { Text = "default" }; _startButton = new Button { Text = "Start", HorizontalOptions = LayoutOptions.Start }; _centerButton = new Button { Text = "Center", HorizontalOptions = LayoutOptions.Center }; _endButton = new Button { Text = "End", HorizontalOptions = LayoutOptions.End }; _fillButton = new Button { Text = "Fill", HorizontalOptions = LayoutOptions.Fill, }; MyLayout myLayout = new MyLayout() { Children = { _defaultButton, _startButton, _centerButton, _endButton, _fillButton } }; Content = myLayout; }