| | |
| | | Height = Application.GetRealHeight(60), |
| | | X = Application.GetRealWidth(372), |
| | | Y = Application.GetRealHeight(46), |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMGray3, |
| | | Text = string.IsNullOrEmpty(doorLock.DeviceName) ? Language.StringByID(R.MyInternationalizationString.UNKnown) : doorLock.DeviceName, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMBlack , |
| | | TextSize = 15, |
| | | TextAlignment = TextAlignment.Center, |
| | | IsBold =true, |
| | | }; |
| | | midTopFrameLayout.AddChidren(btnDoorLockTitle); |
| | | //获取Mac名字 |
| | | btnDoorLockTitle.Text = Common.LocalDevice.Current.GetDeviceMacName(doorLock); |
| | | |
| | | var btnRecord = new Button() |
| | | { |