From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001 From: lss <316519258@qq.com> Date: 星期五, 12 六月 2020 09:22:04 +0800 Subject: [PATCH] 2020.06.12 --- 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