File was renamed from HDL_ON/UI/UI1-Login/RegisterPage.cs |
| | |
| | | |
| | | public void ShowDialog() |
| | | { |
| | | new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(R.InternationalizationString.Register)); |
| | | new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(InternationalizationString.Register)); |
| | | |
| | | #region 注册方式选择 |
| | | btnPhoneLogin = new Button() |
| | |
| | | Y = Application.GetRealHeight(112), |
| | | Width = Application.GetRealWidth(120), |
| | | Height = Application.GetRealHeight(40), |
| | | TextID = R.InternationalizationString.LoginByPhone, |
| | | TextID = InternationalizationString.LoginByPhone, |
| | | TextColor = CSS_Color.MainColor, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.EmphasisFontSize_Secondary, |
| | |
| | | Y = Application.GetRealHeight(112), |
| | | Width = Application.GetRealWidth(100), |
| | | Height = Application.GetRealHeight(40), |
| | | TextID = R.InternationalizationString.LoginByEmail, |
| | | TextID = InternationalizationString.LoginByEmail, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | PlaceholderTextColor = CSS_Color.PromptingColor1, |
| | | PlaceholderText = Language.StringByID(R.InternationalizationString.PlsEntryPhoneNumber), |
| | | PlaceholderText = Language.StringByID(InternationalizationString.PlsEntryPhoneNumber), |
| | | }; |
| | | accountView.AddChidren(etAccount); |
| | | |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | PlaceholderTextColor = CSS_Color.PromptingColor1, |
| | | PlaceholderText = Language.StringByID(R.InternationalizationString.PlsRegisterPassword), |
| | | PlaceholderText = Language.StringByID(InternationalizationString.PlsRegisterPassword), |
| | | SecureTextEntry = true, |
| | | }; |
| | | passwordView.AddChidren(etPassword); |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | PlaceholderTextColor = CSS_Color.PromptingColor1, |
| | | PlaceholderText = Language.StringByID(R.InternationalizationString.PlsRegisterRepeatPassword), |
| | | PlaceholderText = Language.StringByID(InternationalizationString.PlsRegisterRepeatPassword), |
| | | SecureTextEntry = true, |
| | | }; |
| | | repeatPasswordView.AddChidren(etRepeatPassword); |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | PlaceholderTextColor = CSS_Color.PromptingColor1, |
| | | PlaceholderText = Language.StringByID(R.InternationalizationString.PlsEntryVerificationCode), |
| | | PlaceholderText = Language.StringByID(InternationalizationString.PlsEntryVerificationCode), |
| | | }; |
| | | verificationCodeView.AddChidren(etVerificationCode); |
| | | |
| | |
| | | { |
| | | X = Application.GetRealWidth(219), |
| | | Width = Application.GetRealWidth(100), |
| | | TextID = R.InternationalizationString.GetVerificationCode, |
| | | TextID = InternationalizationString.GetVerificationCode, |
| | | SelectedTextColor = CSS_Color.MainColor, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | TextAlignment = TextAlignment.CenterRight, |
| | |
| | | Radius = (uint)Application.GetRealHeight(22), |
| | | SelectedBackgroundColor = CSS_Color.MainColor, |
| | | BackgroundColor = CSS_Color.PromptingColor1, |
| | | TextID = R.InternationalizationString.Register, |
| | | TextID = InternationalizationString.Register, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | TextAlignment = TextAlignment.Center, |