From 16604a593202f2f87adf71abd57d036fe7da3b52 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 18 十一月 2019 10:39:42 +0800 Subject: [PATCH] 同步了全部的代码 --- ZigbeeApp/Shared/Phone/UserCenter/DoorLock/TimeSettignPage.cs | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/TimeSettignPage.cs b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/TimeSettignPage.cs index 1ab6e14..496c79a 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/TimeSettignPage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/DoorLock/TimeSettignPage.cs @@ -129,7 +129,6 @@ var MidTopFrameLayout = new FrameLayout() { - BackgroundColor = ZigbeeColor.Current.XMWhite, }; this.midFrameLayout.AddChidren(MidTopFrameLayout); @@ -138,7 +137,8 @@ { var rowLayout = new FrameLayout() { - Height = Application.GetRealHeight(58), + Height = Application.GetRealHeight(127 + 23), + BackgroundColor = Shared.Common.ZigbeeColor.Current.XMWhite, }; MidTopFrameLayout.AddChidren(rowLayout); @@ -181,10 +181,9 @@ var btnLine = new FrameLayout() { Width = Application.GetRealWidth(965), - Height = Application.GetRealHeight(5), + Height = 1, X = Application.GetRealWidth(58), BackgroundColor = Shared.Common.ZigbeeColor.Current.XMRowLine, - }; MidTopFrameLayout.AddChidren(btnLine); @@ -195,7 +194,7 @@ if (i == 0) { - rowLayout.Y = Application.GetRealHeight(50); + btnDateTime.Y = textDisplayDateFrameLayout.Y = btnNextFrameLayout.Y = Application.GetRealHeight(50); btnLine.Y = Application.GetRealHeight(23 + 127); textDisplayDate = new Button() @@ -219,7 +218,8 @@ } else if (i == 1) { - rowLayout.Y = Application.GetRealHeight(200); + rowLayout.Y = 1 + Application.GetRealHeight(150); + btnDateTime.Y = textDisplayDateFrameLayout.Y = btnNextFrameLayout.Y = Application.GetRealHeight(50); btnLine.Y = Application.GetRealHeight(40 + 127 + 127); textDisplayTime = new Button() { @@ -239,6 +239,7 @@ { btnDateTime.Text = Language.StringByID(R.MyInternationalizationString.CurrentTime); } + btnLine.Visible = false; } int curIndex = i; EventHandler<MouseEventArgs> hander = (sender, e) => @@ -437,6 +438,7 @@ mList2.Add(m.ToString()); } } + // mUIPickerView.setNPicker(mList1, mList2, new List<string> { }); mUIPickerView.setNPicker(mList1, mList2, null); mUIPickerView.setCurrentItems(dtNow.Hour, dtNow.Minute, 0); if (CurentDoorLockTime != null) -- Gitblit v1.8.0