| | |
| | | /// 区域添加功能小区域文本 |
| | | /// </summary> |
| | | Button btnResidenceAddFunctionText; |
| | | |
| | | /// <summary> |
| | | /// 软件设置区域 |
| | | /// </summary> |
| | |
| | | contentView.RemoveAll(); |
| | | |
| | | #region 住宅信息区域 |
| | | if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) |
| | | { |
| | | residenceInfoView = new FrameLayout() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(213), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 0, |
| | | }; |
| | | contentView.AddChidren(residenceInfoView); |
| | | } |
| | | else |
| | | //if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) |
| | | //{ |
| | | // residenceInfoView = new FrameLayout() |
| | | // { |
| | | // Gravity = Gravity.CenterHorizontal, |
| | | // Width = Application.GetRealWidth(343), |
| | | // Height = Application.GetRealHeight(213), |
| | | // BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | // Radius = (uint)Application.GetRealHeight(12), |
| | | // BorderColor = 0x00FFFFFF, |
| | | // BorderWidth = 0, |
| | | // }; |
| | | // contentView.AddChidren(residenceInfoView); |
| | | //} |
| | | //else |
| | | { |
| | | residenceInfoView = new FrameLayout() |
| | | { |
| | |
| | | }; |
| | | residenceManageView.AddChidren(btnResidenceManageText); |
| | | #endregion |
| | | #if stage2 |
| | | |
| | | #region ---成员区域 |
| | | residenceMemberView = new FrameLayout() |
| | | { |
| | |
| | | }; |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText); |
| | | #endregion |
| | | #endif |
| | | } |
| | | else |
| | | { |
| | |
| | | |
| | | #endregion |
| | | |
| | | contentView.ScrollEnabled = false; |
| | | #if stage2 |
| | | contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) }); |
| | | |
| | | #region 软件设置区域 |
| | | softSettingView = new FrameLayout() |
| | | { |
| | |
| | | }; |
| | | softSettingView.AddChidren(btnGeneralSettingsRight); |
| | | #endregion |
| | | |
| | | #endif |
| | | contentView.AddChidren(new Button() { Height = Application.GetRealHeight(8) }); |
| | | #region 获取支持 |
| | | supportView = new FrameLayout() |
| | |
| | | var btnSupportViewLine = new Button() |
| | | { |
| | | X = Application.GetRealWidth(48), |
| | | Y = btnNightViewModeText.Bottom, |
| | | Y = btnSupportText.Bottom, |
| | | Height = Application.GetRealHeight(1), |
| | | BackgroundColor = CSS_Color.DividingLineColor |
| | | }; |
| | |
| | | btnAboutOnText = new Button() |
| | | { |
| | | X = Application.GetRealWidth(48), |
| | | Y = btnSoftSettingViewLine.Bottom, |
| | | Width = Application.GetRealWidth(270), |
| | | Y = btnSupportViewLine.Bottom, |
| | | Width = Application.GetRealWidth(370), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.AboutOn, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |