| | |
| | | /// 区域成员小区域文本 |
| | | /// </summary> |
| | | Button btnResidenceMemberText; |
| | | #region F3阶段 |
| | | /// <summary> |
| | | /// 区域安放小区域 |
| | | /// </summary> |
| | |
| | | /// 区域添加功能小区域文本 |
| | | /// </summary> |
| | | Button btnResidenceAddFunctionText; |
| | | #endregion |
| | | |
| | | #region F3阶段 |
| | | ///// <summary> |
| | | ///// 软件设置区域 |
| | | ///// </summary> |
| | |
| | | /// </summary> |
| | | Button btnSmartSpeakerText; |
| | | |
| | | #endregion |
| | | |
| | | public PersonalCenterPage() |
| | | { |
| | |
| | | residenceArmView.AddChidren(btnResidenceArmText); |
| | | #endregion |
| | | } |
| | | #region F3阶段 |
| | | |
| | | #region ---数据备份区域 |
| | | //residenceDataBackupView = new FrameLayout() |
| | |
| | | //residenceAuxiliaryFunctionView.AddChidren(btnResidenceAuxiliaryFunctionText); |
| | | #endregion |
| | | |
| | | #region ---添加功能区域 |
| | | residenceAddFunctionView = new FrameLayout() |
| | | if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | { |
| | | //X = residenceMemberView.Right, |
| | | X = Application.GetRealWidth(28 - 24), |
| | | Y = residenceManageView.Bottom, |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealWidth(64), |
| | | }; |
| | | residenceInfoView.AddChidren(residenceAddFunctionView); |
| | | btnResidenceAddFunctionIcon = new Button |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(5), |
| | | Width = Application.GetMinRealAverage(30), |
| | | Height = Application.GetMinRealAverage(30), |
| | | UnSelectedImagePath = "PersonalCenter/AddFunctionIcon.png", |
| | | }; |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionIcon); |
| | | btnResidenceAddFunctionText = new Button() |
| | | { |
| | | Y = btnResidenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = StringId.AddFunction, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | }; |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText); |
| | | #endregion |
| | | #endregion |
| | | #region ---添加功能区域 |
| | | residenceAddFunctionView = new FrameLayout() |
| | | { |
| | | //X = residenceMemberView.Right, |
| | | X = Application.GetRealWidth(28 - 24), |
| | | Y = residenceManageView.Bottom, |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealWidth(64), |
| | | }; |
| | | residenceInfoView.AddChidren(residenceAddFunctionView); |
| | | btnResidenceAddFunctionIcon = new Button |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(5), |
| | | Width = Application.GetMinRealAverage(30), |
| | | Height = Application.GetMinRealAverage(30), |
| | | UnSelectedImagePath = "PersonalCenter/AddFunctionIcon.png", |
| | | }; |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionIcon); |
| | | btnResidenceAddFunctionText = new Button() |
| | | { |
| | | Y = btnResidenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = StringId.AddFunction, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | }; |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText); |
| | | #endregion |
| | | } |
| | | } |
| | | else |
| | | { |