HDL Home App 第二版本 旧平台金堂用 正在使用
ZigbeeApp/Shared/Phone/UserCenter/Abount/SLAForm.cs
New file
@@ -0,0 +1,33 @@
using System;
using Shared.Common;
namespace Shared.Phone.UserCenter.Abount
{
    public class SLAForm : EditorCommonForm
    {
        /// <summary>
        /// 画面显示(底层会固定调用此方法,借以完成画面创建)
        /// </summary>
        public void ShowForm()
        {
            //设置标题信息
            base.SetTitleText(Language.StringByID(R.MyInternationalizationString.SLA));
            //初始化中部控件
            this.InitMiddleFrame();
        }
        /// <summary>
        /// 初始化中部控件
        /// </summary>
        private void InitMiddleFrame()
        {
            var btnControl = new WebView();
            btnControl.Width = bodyFrameLayout.Width;
            btnControl.Height = bodyFrameLayout.Height;
            bodyFrameLayout.AddChidren(btnControl);
            //加载网址
            btnControl.LoadRequest("https://developer.hdlcontrol.com/HDLEvoyoPrivacyPolicy.html");
        }
    }
}