using System; using Shared; namespace HDL_ON.UI.UI2 { public class H5Page : FrameLayout { public H5Page() { } public void LoadView() { WebView webView = new WebView(); this.AddChidren(webView); webView.LoadFileUrl("h5/index"); //Button button = new Button { Width = 200, Height = 200, Text = "Hello", Y = 300, BackgroundColor = 0xFFFF0012 }; //button.MouseUpEventHandler += (s, e) => //{ // webView.CallJS("uniAppAndroidFun(" + "'hello world'" + ")"); //}; //this.AddChidren(button); } } }