| | |
| | | public void BottomFrameLayout() |
| | | { |
| | | #region UI |
| | | //var bottomFrameLayout = new FrameLayout() |
| | | //{ |
| | | // Height = Application.GetRealHeight(100), |
| | | // Y = Application.GetRealHeight(418), |
| | | // Radius = 17, |
| | | // BackgroundColor = ZigbeeColor.Current.XMWhite, |
| | | //}; |
| | | //this.midFrameLayout.AddChidren(bottomFrameLayout); |
| | | |
| | | //var bottomFrameLayout1 = new FrameLayout() |
| | | //{ |
| | | // Height = Application.GetRealHeight(1319 - 50), |
| | | // Y = Application.GetRealHeight(418 + 48), |
| | | // BackgroundColor = ZigbeeColor.Current.XMWhite, |
| | | //}; |
| | | //this.midFrameLayout.AddChidren(bottomFrameLayout1); |
| | | |
| | | var bottomFrameLayout = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(1319), |
| | |
| | | btnNext.SelectedImagePath = "DoorLock/SwitchOn.png"; |
| | | btnLine.Visible = true; |
| | | btnLine.Y = Application.GetRealHeight(714); |
| | | if (doorLock.RemoteUnlockPassword == "") |
| | | if (string.IsNullOrEmpty(doorLock.RemoteUnlockPassword)) |
| | | { |
| | | btnNext.IsSelected = false; |
| | | } |
| | |
| | | btnNext.IsSelected = !btnNext.IsSelected; |
| | | if (btnNext.IsSelected) |
| | | { |
| | | if (doorLock.RemoteUnlockPassword == "") |
| | | if (string.IsNullOrEmpty(doorLock.RemoteUnlockPassword)) |
| | | { |
| | | RemotePasswordDialog(doorLock, btnNext); |
| | | } |