old mode 100755
new mode 100644
| | |
| | | Height = Application.GetRealHeight(1238), |
| | | Width = Application.GetRealWidth(965), |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.XMWhite, |
| | | Radius = 6, |
| | | Radius = (uint)Application.GetRealHeight(17), |
| | | }; |
| | | this.midFrameLayout.AddChidren(midTopFrameLayout); |
| | | |
| | |
| | | btnDoorLockTitle.IsBold = true; |
| | | btnDoorLockTitle.Text = Common.LocalDevice.Current.GetDeviceMacName(doorLock); |
| | | btnDoorLockTitle.Width = btnDoorLockTitle.GetRealWidthByText(); |
| | | if (btnDoorLockTitle.Width > 664) |
| | | { |
| | | btnDoorLockTitle.Width = 664; |
| | | } |
| | | btnDoorLockTitle.TextAlignment = TextAlignment.Center; |
| | | btnDoorLockTitle.Gravity = Gravity.CenterHorizontal; |
| | | midTopFrameLayout.AddChidren(btnDoorLockTitle); |
| | |
| | | progressFrameLayoutMatch = new FrameLayout() |
| | | { |
| | | Width = Application.GetRealHeight(84),//639-35 |
| | | Height = Application.GetRealHeight(446), |
| | | Height = Application.GetRealHeight(446 + 30), |
| | | X = Application.GetMinReal(51), |
| | | BackgroundColor = ZigbeeColor.Current.XMWhite, |
| | | }; |
| | |
| | | |
| | | var progressFrameLayout = new FrameLayout() |
| | | { |
| | | Width = Application.GetRealHeight(17),//639-35 |
| | | Width = Application.GetRealHeight(15),//639-35 |
| | | Height = Application.GetRealHeight(440), |
| | | Radius = (uint)Application.GetRealHeight(17), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | BackgroundColor = ZigbeeColor.Current.XMVerticalSeekBar, |
| | | }; |
| | |
| | | Height = Application.GetRealHeight(138), |
| | | Y = Application.GetRealHeight(1100), |
| | | BackgroundColor = ZigbeeColor.Current.XMBlack, |
| | | Radius = 6, |
| | | Radius = (uint)Application.GetRealHeight(17), |
| | | }; |
| | | midTopFrameLayout.AddChidren(btnCurrentFrameLayout); |
| | | #endregion |
| | |
| | | var listDevice = new List<CommonDevice> { }; |
| | | listDevice.Add(doorLock); |
| | | var devTemp = Common.LocalDevice.Current.GetMyDeviceEnumInfo(listDevice); |
| | | if (devTemp.ConcreteType == DeviceConcreteType.IntelligentLocks_Sone) |
| | | if (devTemp.ConcreteType != DeviceConcreteType.IntelligentLocks_H06C) |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |