public NewPage () { img1 = new CGImageBug.Image ("longomatch_dark_bg_png").Clone (); img2 = new CGImageBug.Image ("longomatch_dark_bg_png").Clone (); img3 = new CGImageBug.Image ("longomatch_dark_bg_png").Clone (); Button b = new Button { VerticalOptions = LayoutOptions.FillAndExpand, HorizontalOptions = LayoutOptions.FillAndExpand, Text = "Press me several times to reproduce the bug", }; StackLayout layout = new StackLayout { VerticalOptions = LayoutOptions.FillAndExpand, HorizontalOptions = LayoutOptions.FillAndExpand, Children = { b }, }; Content = layout; b.Clicked += B_Clicked; }
public NewPage() { img1 = new CGImageBug.Image ("longomatch_dark_bg_png").Clone (); img2 = new CGImageBug.Image ("longomatch_dark_bg_png").Clone (); img3 = new CGImageBug.Image ("longomatch_dark_bg_png").Clone (); Button b = new Button { VerticalOptions = LayoutOptions.FillAndExpand, HorizontalOptions = LayoutOptions.FillAndExpand, Text = "Press me several times to reproduce the bug", }; StackLayout layout = new StackLayout { VerticalOptions = LayoutOptions.FillAndExpand, HorizontalOptions = LayoutOptions.FillAndExpand, Children = { b }, }; Content = layout; b.Clicked += B_Clicked; }