| | |
| | | /// </summary> |
| | | public void LoadView(string account = "") |
| | | { |
| | | Language.CurrentLanguage = "Chinese"; |
| | | var btnIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(28), |
| | |
| | | |
| | | btnEmailLogin = new Button() |
| | | { |
| | | X = btnPhoneLogin.Right, |
| | | X = btnPhoneLogin.Right + Application.GetRealWidth(20), |
| | | Y = Application.GetRealHeight(177), |
| | | Width = Application.GetRealWidth(100), |
| | | Height = Application.GetRealHeight(40), |
| | |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | Text = "+86", |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | BackgroundColor = 0xffff0000 |
| | | }; |
| | | if (loginType == 0) |
| | | accountView.AddChidren(btnGlobalRoaming); |
| | |
| | | Height = Application.GetRealHeight(1), |
| | | }; |
| | | accountView.AddChidren(btnAccountViewBottomLine); |
| | | |
| | | |
| | | btnAccountIcon = new Button() |
| | | { |
| | |
| | | MainPage.GoUserPage(); |
| | | }; |
| | | |
| | | MainPage.Log("etAccount.TextAlignment : " + etAccount.TextAlignment.ToString()); |
| | | |
| | | #endif |
| | | |
| | | } |