| | |
| | | |
| | | } |
| | | #region 顶部信息区域 |
| | | btnResidenceDownIcon = new Button() { |
| | | btnResidenceDownIcon = new Button() |
| | | { |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | X = Application.GetRealWidth(16), |
| | |
| | | }; |
| | | residenceInfoView.AddChidren(btnResidenceDownIcon); |
| | | |
| | | btnCurResidenceName = new Button() { |
| | | X = btnResidenceDownIcon.Right+ Application.GetRealWidth(1), |
| | | btnCurResidenceName = new Button() |
| | | { |
| | | X = btnResidenceDownIcon.Right + Application.GetRealWidth(1), |
| | | Y = Application.GetRealHeight(10), |
| | | Width = Application.GetRealWidth(240), |
| | | Height = Application.GetRealHeight(45), |
| | |
| | | { |
| | | Y = residenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.ResidenceManage, |
| | | TextID = StringId.ResidenceManage, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.ResidenceMemberManage, |
| | | TextID = StringId.ResidenceMemberManage, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.Undefense, |
| | | TextID = StringId.Undefense, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.DataBackup, |
| | | TextID = StringId.DataBackup, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.AuxiliaryFunction, |
| | | TextID = StringId.AuxiliaryFunction, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.AddFunction, |
| | | TextID = StringId.AddFunction, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceArmIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.Undefense, |
| | | TextID = StringId.Undefense, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceDataBackupIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.DataBackup, |
| | | TextID = StringId.DataBackup, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | { |
| | | Y = residenceAuxiliaryFunctionIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = InternationalizationString.AuxiliaryFunction, |
| | | TextID = StringId.AuxiliaryFunction, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | |
| | | #endregion |
| | | |
| | | #region 软件设置区域 |
| | | softSettingView = new FrameLayout() { |
| | | softSettingView = new FrameLayout() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(8) + residenceInfoView.Bottom, |
| | | Width = Application.GetRealWidth(343), |
| | |
| | | }; |
| | | bodyView.AddChidren(softSettingView); |
| | | |
| | | btnNightViewModeIcon = new Button() { |
| | | btnNightViewModeIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(12), |
| | | Y = Application.GetRealHeight(10), |
| | | Width = Application.GetMinRealAverage(24), |
| | |
| | | X = Application.GetRealWidth(48), |
| | | Width = Application.GetRealWidth(180), |
| | | Height = Application.GetRealHeight(44), |
| | | TextID = InternationalizationString.NightView, |
| | | TextID = StringId.NightView, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | Y = btnSoftSettingViewLine.Bottom, |
| | | Width = Application.GetRealWidth(180), |
| | | Height = Application.GetRealHeight(44), |
| | | TextID = InternationalizationString.GeneralSettings, |
| | | TextID = StringId.GeneralSettings, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.TextFontSize |
| | |
| | | X = Application.GetRealWidth(48), |
| | | Width = Application.GetRealWidth(180), |
| | | Height = Application.GetRealHeight(44), |
| | | TextID = InternationalizationString.GetSupport, |
| | | TextID = StringId.GetSupport, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.TextFontSize |