| | |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(94), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(5), |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 0, |
| | | }; |
| | |
| | | personalInfoView.AddChidren(btnUserName); |
| | | if (!string.IsNullOrEmpty(MainPage.LoginUser.userName)) |
| | | { |
| | | btnUserName.Text = MainPage.LoginUser.userName;; |
| | | btnUserName.Text = MainPage.LoginUser.userName; ; |
| | | } |
| | | btnEmail = new Button() |
| | | { |
| | |
| | | Height = Application.GetRealHeight(400), |
| | | }; |
| | | bodyView.AddChidren(contentView); |
| | | LoadContentView(); |
| | | } |
| | | |
| | | public void LoadContentView() |
| | | { |
| | | contentView.RemoveAll(); |
| | | |
| | | #region 住宅信息区域 |
| | | if (!DB_ResidenceData.residenceData.residecenInfo.IsOthreShare) |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(213), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(5), |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 0, |
| | | }; |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealHeight(144), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(5), |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 0, |
| | | }; |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealWidth(88), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(5), |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 0, |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(48), |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.NightView, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | |
| | | Button btnGeneralSettingsIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(12), |
| | | Y = Application.GetRealHeight(54), |
| | | Y = Application.GetRealWidth(54), |
| | | Width = Application.GetMinRealAverage(24), |
| | | Height = Application.GetMinRealAverage(24), |
| | | UnSelectedImagePath = "PersonalCenter/GeneralSettingsIcon.png", |
| | |
| | | X = Application.GetRealWidth(48), |
| | | Y = btnSoftSettingViewLine.Bottom, |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.GeneralSettings, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealWidth(88), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | Radius = (uint)Application.GetRealHeight(5), |
| | | Radius = (uint)Application.GetRealHeight(12), |
| | | BorderColor = 0x00FFFFFF, |
| | | BorderWidth = 0, |
| | | }; |
| | |
| | | { |
| | | X = Application.GetRealWidth(48), |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.GetSupport, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | Button btnAboutOnIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(12), |
| | | Y = Application.GetRealHeight(54), |
| | | Y = Application.GetRealWidth(54), |
| | | Width = Application.GetMinRealAverage(24), |
| | | Height = Application.GetMinRealAverage(24), |
| | | UnSelectedImagePath = "PersonalCenter/InfoOnIcon.png", |
| | |
| | | X = Application.GetRealWidth(48), |
| | | Y = btnSoftSettingViewLine.Bottom, |
| | | Width = Application.GetRealWidth(270), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealWidth(44), |
| | | TextID = StringId.AboutOn, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |