| | |
| | | /// 区域安放小区域文本 |
| | | /// </summary> |
| | | Button btnResidenceArmText; |
| | | /// <summary> |
| | | /// 区域数据备份小区域 |
| | | /// </summary> |
| | | FrameLayout residenceDataBackupView; |
| | | /// <summary> |
| | | /// 区域数据备份小区域图标 |
| | | /// </summary> |
| | | Button btnResidenceDataBackupIcon; |
| | | /// <summary> |
| | | /// 区域数据备份小区域文本 |
| | | /// </summary> |
| | | Button btnResidenceDataBackupText; |
| | | ///// <summary> |
| | | ///// 区域数据备份小区域 |
| | | ///// </summary> |
| | | //FrameLayout residenceDataBackupView; |
| | | ///// <summary> |
| | | ///// 区域数据备份小区域图标 |
| | | ///// </summary> |
| | | //Button btnResidenceDataBackupIcon; |
| | | ///// <summary> |
| | | ///// 区域数据备份小区域文本 |
| | | ///// </summary> |
| | | //Button btnResidenceDataBackupText; |
| | | /// <summary> |
| | | /// 区域辅助功能小区域 |
| | | /// </summary> |
| | |
| | | residenceArmView.AddChidren(btnResidenceArmText); |
| | | #endregion |
| | | #region ---数据备份区域 |
| | | residenceDataBackupView = new FrameLayout() |
| | | { |
| | | X = Application.GetRealWidth(28 - 24), |
| | | Y = residenceManageView.Bottom, |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealWidth(64), |
| | | }; |
| | | residenceInfoView.AddChidren(residenceDataBackupView); |
| | | btnResidenceDataBackupIcon = new Button |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(5), |
| | | Width = Application.GetMinRealAverage(30), |
| | | Height = Application.GetMinRealAverage(30), |
| | | UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", |
| | | }; |
| | | residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); |
| | | btnResidenceDataBackupText = new Button() |
| | | { |
| | | Y = btnResidenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = StringId.DataBackup, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | }; |
| | | residenceDataBackupView.AddChidren(btnResidenceDataBackupText); |
| | | //residenceDataBackupView = new FrameLayout() |
| | | //{ |
| | | // X = Application.GetRealWidth(28 - 24), |
| | | // Y = residenceManageView.Bottom, |
| | | // Width = Application.GetRealWidth(64 + 48), |
| | | // Height = Application.GetRealWidth(64), |
| | | //}; |
| | | //residenceInfoView.AddChidren(residenceDataBackupView); |
| | | //btnResidenceDataBackupIcon = new Button |
| | | //{ |
| | | // Gravity = Gravity.CenterHorizontal, |
| | | // Y = Application.GetRealHeight(5), |
| | | // Width = Application.GetMinRealAverage(30), |
| | | // Height = Application.GetMinRealAverage(30), |
| | | // UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", |
| | | //}; |
| | | //residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); |
| | | //btnResidenceDataBackupText = new Button() |
| | | //{ |
| | | // Y = btnResidenceManageIcon.Bottom, |
| | | // Height = Application.GetRealHeight(29), |
| | | // TextID = StringId.DataBackup, |
| | | // TextAlignment = TextAlignment.Center, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | // TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | //}; |
| | | //residenceDataBackupView.AddChidren(btnResidenceDataBackupText); |
| | | #endregion |
| | | |
| | | #region ---辅助功能区域 |
| | | residenceAuxiliaryFunctionView = new FrameLayout() |
| | | { |
| | | X = residenceDataBackupView.Right, |
| | | X = Application.GetRealWidth(28 - 24), |
| | | //X = residenceDataBackupView.Right, |
| | | Y = residenceManageView.Bottom, |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealWidth(64), |
| | |
| | | residenceArmView.AddChidren(btnResidenceArmText); |
| | | #endregion |
| | | #region ---数据备份区域 |
| | | residenceDataBackupView = new FrameLayout() |
| | | { |
| | | X = residenceArmView.Right, |
| | | Y = Application.GetRealHeight(68), |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealWidth(64), |
| | | }; |
| | | residenceInfoView.AddChidren(residenceDataBackupView); |
| | | btnResidenceDataBackupIcon = new Button |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(5), |
| | | Width = Application.GetMinRealAverage(30), |
| | | Height = Application.GetMinRealAverage(30), |
| | | UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", |
| | | }; |
| | | residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); |
| | | btnResidenceDataBackupText = new Button() |
| | | { |
| | | Y = btnResidenceDataBackupIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = StringId.DataBackup, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | }; |
| | | residenceDataBackupView.AddChidren(btnResidenceDataBackupText); |
| | | //residenceDataBackupView = new FrameLayout() |
| | | //{ |
| | | // X = residenceArmView.Right, |
| | | // Y = Application.GetRealHeight(68), |
| | | // Width = Application.GetRealWidth(64 + 48), |
| | | // Height = Application.GetRealWidth(64), |
| | | //}; |
| | | //residenceInfoView.AddChidren(residenceDataBackupView); |
| | | //btnResidenceDataBackupIcon = new Button |
| | | //{ |
| | | // Gravity = Gravity.CenterHorizontal, |
| | | // Y = Application.GetRealHeight(5), |
| | | // Width = Application.GetMinRealAverage(30), |
| | | // Height = Application.GetMinRealAverage(30), |
| | | // UnSelectedImagePath = "PersonalCenter/ResidenceDataBackupIcon.png", |
| | | //}; |
| | | //residenceDataBackupView.AddChidren(btnResidenceDataBackupIcon); |
| | | //btnResidenceDataBackupText = new Button() |
| | | //{ |
| | | // Y = btnResidenceDataBackupIcon.Bottom, |
| | | // Height = Application.GetRealHeight(29), |
| | | // TextID = StringId.DataBackup, |
| | | // TextAlignment = TextAlignment.Center, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | // TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | //}; |
| | | //residenceDataBackupView.AddChidren(btnResidenceDataBackupText); |
| | | #endregion |
| | | |
| | | #region ---辅助功能区域 |
| | | residenceAuxiliaryFunctionView = new FrameLayout() |
| | | { |
| | | X = residenceDataBackupView.Right, |
| | | X = residenceArmView.Right, |
| | | Y = Application.GetRealHeight(68), |
| | | Width = Application.GetRealWidth(64 + 48), |
| | | Height = Application.GetRealWidth(64), |