From 5da99fed2eb0d08b6338064da5f998891252c7b8 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 18 五月 2020 16:39:59 +0800 Subject: [PATCH] 2020-05-18-2 --- ZigbeeApp/Shared/Phone/Login/PhoneZone.cs | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs b/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs index a9e1ac4..13a0844 100755 --- a/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs +++ b/ZigbeeApp/Shared/Phone/Login/PhoneZone.cs @@ -4,7 +4,7 @@ namespace Shared.Phone.Device.Login { - public class PhoneZone : FrameLayout + public class PhoneZone : UserCenter.FrameLayoutBase { #region 鈼� 鍙橀噺____________________________ /// <summary> @@ -184,20 +184,21 @@ }; phoneZoneSelectedShowView.AddChidren(phoneZoneListView); - var okBtn = new CommonForm.CompleteButton(1166, 668, 127); - phoneZoneSelectedShowView.AddChidren(okBtn); - okBtn.MouseUpEventHandler += (sender, e) => + var btnOk = new UserCenter.BottomClickButton(668); + btnOk.Y = Application.GetRealHeight(1166); + btnOk.TextID = R.MyInternationalizationString.Complete; + phoneZoneSelectedShowView.AddChidren(btnOk); + btnOk.ButtonClickEvent += (sender, e) => { ActionSelectedZone?.Invoke(CommonPage.PhoneZoneStr); ActionSelectedZone = null; RemoveFromParent(); }; - phoneZoneSelectedShowView.AddChidren(okBtn); var cancleBtn = new Button() { Y = Application.GetRealHeight(1719), - Height = Application.GetMinRealAverage(86), - Width = Application.GetMinRealAverage(86), + Height = this.GetPictrueRealSize(86), + Width = this.GetPictrueRealSize(86), UnSelectedImagePath = "Account/Cancle.png", Gravity = Gravity.CenterHorizontal }; -- Gitblit v1.8.0