HDL Home App 第二版本 旧平台金堂用 正在使用
ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/BindCommonLayout.cs
old mode 100755 new mode 100644
@@ -24,14 +24,6 @@
        public FrameLayout topFrameLayout = new FrameLayout { Height = Application.GetRealHeight(184), BackgroundColor = ZigbeeColor.Current.XMTopFrameLayout };
        public FrameLayout midFrameLayout = new FrameLayout { Height = Application.GetRealHeight(1925 - 184), BackgroundColor = ZigbeeColor.Current.XMMidFrameLayout };
        public FrameLayout bottomRadiusFrameLayout = new FrameLayout()
        {
            Height = Application.GetRealHeight(100),
            Y = Application.GetRealHeight(930),
            Radius = 17,
            BackgroundColor = ZigbeeColor.Current.XMWhite,
        };
        public FrameLayout titleFrameLayout = new FrameLayout
        {
            Y = Application.GetRealHeight(92),
@@ -78,6 +70,71 @@
            Height = 1,
            BackgroundColor = Shared.Common.ZigbeeColor.Current.XMTitleLine,
        };
    #region 底部有圆角布局
    /// 背景阴影界面
    /// </summary>
    public FrameLayout shadowRadiusFrameLayout = new FrameLayout { BackgroundColor = 0x0f000000 };
    /// <summary>
    /// 设置圆角的界面
    /// </summary>
    public FrameLayout bottomRadiusFrameLayout = new FrameLayout()
    {
      Height = Application.GetRealHeight(806),
      Y = Application.GetRealHeight(930),
      BackgroundColor = ZigbeeColor.Current.XMWhite,
    };
    /// <summary>
    /// 底部圆角中的取消按钮
    /// </summary>
    public Button btnCancel = new Button
    {
      X = Application.GetRealWidth(81),
      Y = Application.GetRealHeight(40),
      Height = Application.GetRealHeight(58),
      Width = Application.GetRealWidth(101),
      Text = Language.StringByID(R.MyInternationalizationString.Cancel),
      TextColor = Shared.Common.ZigbeeColor.Current.XMGray3,
      TextSize = 14,
    };
    /// <summary>
    /// 底部圆角中的标题栏
    /// </summary>
    public Button btnBottomTitle = new Button
    {
      X = Application.GetRealWidth(446 - 50),
      Y = Application.GetRealHeight(35),
      Height = Application.GetRealHeight(63),
      Width = Application.GetRealWidth(284),
      Text = Language.StringByID(R.MyInternationalizationString.MatchPerson),
      TextColor = Shared.Common.ZigbeeColor.Current.XMBlack,
      TextSize = 16,
    };
    /// <summary>
    /// 底部圆角中的确认按钮
    /// </summary>
    public Button btnFinish = new Button
    {
      X = Application.GetRealWidth(919),
      Y = Application.GetRealHeight(40),
      Height = Application.GetRealHeight(58),
      Width = Application.GetRealWidth(101),
      Text = Language.StringByID(R.MyInternationalizationString.Complete),
      TextColor = Shared.Common.ZigbeeColor.Current.XMOrange,
      TextSize = 14,
    };
    /// <summary>
    /// 底部圆角中的标题栏下的线条
    /// </summary>
    public Button line = new Button()
    {
      Y = Application.GetRealHeight(138),
      Height = 1,
      BackgroundColor = Shared.Common.ZigbeeColor.Current.XMRowLine,
    };
    #endregion
        #endregion
        /// <summary>
@@ -145,6 +202,20 @@
        }
        /// <summary>
    /// 门锁底部带圆角布局
    /// </summary>
    /// <param name="frameLayout"></param>
    public void BottomRadiusFrameLayout(FrameLayout frameLayout)
    {
      this.shadowRadiusFrameLayout.AddChidren(this.bottomRadiusFrameLayout);
      this.bottomRadiusFrameLayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
      this.bottomRadiusFrameLayout.AddChidren(btnCancel);
      this.bottomRadiusFrameLayout.AddChidren(btnBottomTitle);
      this.bottomRadiusFrameLayout.AddChidren(btnFinish);
      this.bottomRadiusFrameLayout.AddChidren(line);
    }
    /// <summary>
        /// 显示重新加载的界面(主要是用在界面加载错误时,再次加载)
        /// </summary>
        public void ShowReLoadView()