| | |
| | | var btnUndistributeText = new Button |
| | | { |
| | | Height = Application.GetRealHeight(72), |
| | | Width = Application.GetRealWidth(121), |
| | | Width = Application.GetRealWidth(150), |
| | | TextID = R.MyInternationalizationString.Undistributed, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMTopTitleText, |
| | | X = btnUndistributeIcon.Right, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | }; |
| | | IsBold =true, |
| | | TextSize =13, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | }; |
| | | btnAddFrameLayout.AddChidren(btnUndistributeText); |
| | | if (UserCenterResourse.UserInfo.AuthorityNo != 1) |
| | | { |
| | |
| | | X = Application.GetRealWidth(58), |
| | | Width = Application.GetRealWidth(300), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMTopTitleText, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMBlack, |
| | | Gravity = Gravity.CenterVertical, |
| | | TextSize = 14, |
| | | }; |