| | |
| | | |
| | | var MidTopFrameLayout = new FrameLayout() |
| | | { |
| | | BackgroundColor = ZigbeeColor.Current.XMWhite, |
| | | }; |
| | | this.midFrameLayout.AddChidren(MidTopFrameLayout); |
| | | |
| | |
| | | { |
| | | var rowLayout = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(58), |
| | | Height = Application.GetRealHeight(127 + 23), |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.XMWhite, |
| | | }; |
| | | MidTopFrameLayout.AddChidren(rowLayout); |
| | | |
| | |
| | | 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); |
| | | |
| | |
| | | |
| | | 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() |
| | |
| | | } |
| | | 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() |
| | | { |
| | |
| | | { |
| | | btnDateTime.Text = Language.StringByID(R.MyInternationalizationString.CurrentTime); |
| | | } |
| | | btnLine.Visible = false; |
| | | } |
| | | int curIndex = i; |
| | | EventHandler<MouseEventArgs> hander = (sender, e) => |
| | |
| | | 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) |