| | |
| | | }; |
| | | btnAddFrameLayout.AddChidren(btnUndistributeIcon); |
| | | |
| | | btnAddFrameLayout.Width = Application.GetRealWidth(190 + 50); |
| | | var btnUndistributeText = new Button |
| | | { |
| | | Height = Application.GetRealHeight(72), |
| | | Width = Application.GetRealWidth(150), |
| | | Width = Application.GetRealWidth(200), |
| | | TextID = R.MyInternationalizationString.Undistributed, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMTopTitleText, |
| | | X = btnUndistributeIcon.Right, |
| | |
| | | } |
| | | else |
| | | { |
| | | MidFrameLayoutContent(); |
| | | //切换账户的情况: |
| | | if (localAllAccountListTemp[0].SubAccountDistributedMark != Shared.Common.Config.Instance.Guid) |
| | | { |
| | | CommonPage.Loading.Start("Loading..."); |
| | | ReadAccountDoorLockInfoList(); |
| | | } |
| | | else |
| | | { |
| | | MidFrameLayoutContent(); |
| | | } |
| | | } |
| | | |
| | | midVerticalScrolViewLayout.BeginHeaderRefreshingAction += () => |