| | |
| | | /// <summary> |
| | | /// 用户名称标题 |
| | | /// </summary> |
| | | Button btnUserName; |
| | | Button btnUserNameTitle; |
| | | /// <summary> |
| | | /// 用户名称 |
| | | /// </summary> |
| | | EditText etUserName; |
| | | Button btnUserName; |
| | | /// <summary> |
| | | /// 修改用户名称按钮 |
| | | /// </summary> |
| | |
| | | optionListView = new VerticalScrolViewLayout() |
| | | { |
| | | Y = headPortraitView.Bottom + Application.GetRealHeight(8), |
| | | Height = Application.GetRealHeight(45 * 6), |
| | | Height = Application.GetRealHeight(51 * 6), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | ScrollEnabled = false, |
| | | }; |
| | |
| | | /// </summary> |
| | | userNameView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealHeight(50), |
| | | }; |
| | | optionListView.AddChidren(userNameView); |
| | | /// <summary> |
| | | /// 用户名称标题 |
| | | /// </summary> |
| | | btnUserName = new Button() |
| | | btnUserNameTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Width = Application.GetRealWidth(120), |
| | |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = StringId.Name, |
| | | }; |
| | | userNameView.AddChidren(btnUserName); |
| | | userNameView.AddChidren(btnUserNameTitle); |
| | | /// <summary> |
| | | /// 用户名称 |
| | | /// </summary> |
| | | etUserName = new EditText() |
| | | btnUserName = new Button() |
| | | { |
| | | X = Application.GetRealWidth(100), |
| | | Width = Application.GetRealWidth(230), |
| | |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | Text = string.IsNullOrEmpty(MainPage.LoginUser.UserName) ? "不愿意透露姓名的用户" : MainPage.LoginUser.UserName |
| | | }; |
| | | userNameView.AddChidren(etUserName); |
| | | userNameView.AddChidren(btnUserName); |
| | | /// <summary> |
| | | /// 修改用户名称按钮 |
| | | /// </summary> |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(28), |
| | | Height = Application.GetMinRealAverage(28), |
| | | UnSelectedImagePath = "PersonalCenter/PersonalData/EditIcon.png", |
| | | UnSelectedImagePath = "Public/EditIcon.png", |
| | | }; |
| | | userNameView.AddChidren(btnEditUserNameIcon); |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | |
| | | /// </summary> |
| | | _QRcodeView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealHeight(50), |
| | | }; |
| | | optionListView.AddChidren(_QRcodeView); |
| | | /// <summary> |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png", |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | _QRcodeView.AddChidren(btnQRcodeRight); |
| | | #endregion |
| | |
| | | /// </summary> |
| | | userEmailInfoView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealHeight(50), |
| | | }; |
| | | optionListView.AddChidren(userEmailInfoView); |
| | | /// <summary> |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png", |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | userEmailInfoView.AddChidren(btnUserEmailRight); |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | |
| | | /// </summary> |
| | | userPhoneInfoView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealHeight(50), |
| | | }; |
| | | optionListView.AddChidren(userPhoneInfoView); |
| | | /// <summary> |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png", |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | userPhoneInfoView.AddChidren(btnUserPhoneRight); |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | |
| | | /// </summary> |
| | | thirdPartyAuthorizationView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealHeight(50), |
| | | }; |
| | | optionListView.AddChidren(thirdPartyAuthorizationView); |
| | | /// <summary> |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png", |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | thirdPartyAuthorizationView.AddChidren(btnThirdPartyAuthorizationRight); |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | |
| | | /// </summary> |
| | | resetPasswordView = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealHeight(50), |
| | | }; |
| | | optionListView.AddChidren(resetPasswordView); |
| | | /// <summary> |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png", |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | resetPasswordView.AddChidren(btnResetPasswordRight); |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "PersonalCenter/PersonalData/Right.png", |
| | | UnSelectedImagePath = "Public/Right.png", |
| | | }; |
| | | interpretationSettingsView.AddChidren(btnInterpretationSettingsRight); |
| | | #endregion |
| | |
| | | btnLogout = new Button() |
| | | { |
| | | Y = Application.GetRealHeight(623), |
| | | Height = Application.GetRealHeight(44), |
| | | Height = Application.GetRealHeight(50), |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.AuxiliaryColor2, |