| | |
| | | X = Application.GetRealWidth(15), |
| | | Text = Language.StringByID(R.MyInternationalizationString.FirstFloor), |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMBlack, |
| | | TextSize = 15, |
| | | TextSize = 14, |
| | | IsBold = true, |
| | | TextAlignment = TextAlignment.CenterRight, |
| | | }; |
| | | btnAddFrameLayout.AddChidren(btnFloorText); |
| | |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.XMBlack, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMWhite, |
| | | TextSize = 16, |
| | | IsBold = true, |
| | | }; |
| | | bottomFrameLayout.AddChidren(btnChooseKeyMode); |
| | | #endregion |
| | |
| | | TextColor = Shared.Common.ZigbeeColor.Current.TextBlack, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | Tag = device.CommonDevice?.DeviceEpointName, |
| | | TextSize = 15, |
| | | }; |
| | | rowLayout.AddChidren(btnBindName); |
| | | |
| | |
| | | }; |
| | | rowLayout.AddChidren(line2); |
| | | |
| | | if (curIndex == curRoom.DeviceUIList.Count - 1) |
| | | if (curIndex == curTypeDeviceList.Count) |
| | | { |
| | | line2.Visible = false; |
| | | } |
| | |
| | | Height = Application.GetRealHeight(58), |
| | | X = Application.GetRealWidth(81), |
| | | Y = Application.GetRealHeight(81), |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMGray3, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMBlack, |
| | | TextSize = 14, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextID = R.MyInternationalizationString.SelectFloor, |
| | |
| | | Height = Application.GetRealHeight(81), |
| | | Y = Application.GetRealHeight(55), |
| | | UnSelectedImagePath = "Floor/Floor.png", |
| | | SelectedImagePath = "Floor/FloorSelected.png", |
| | | SelectedImagePath = "Floor/FloorSelected.png", |
| | | }; |
| | | rowFrameLayout.AddChidren(btnAllMethod); |
| | | |
| | |
| | | if (currentKey.currentSelectFloorId == floorId) |
| | | { |
| | | btnAllMethod.IsSelected = true; |
| | | btnAllMethod.IsBold = true; |
| | | btnMethodText.TextColor = Shared.Common.ZigbeeColor.Current.XMBlack; |
| | | } |
| | | |
| | |
| | | oldbuttonText = btnMethodText; |
| | | btnMethodText.IsSelected = true; |
| | | oldbuttonText.TextColor = Shared.Common.ZigbeeColor.Current.XMBlack; |
| | | oldbuttonText.IsBold = true; |
| | | } |
| | | |
| | | //获取楼层对应的房间 |