| | |
| | | |
| | | namespace Shared.Phone.Login |
| | | { |
| | | public class PhoneEmailForm : FrameLayout |
| | | public class PhoneEmailForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// 选择手机 |
| | |
| | | PhoneEmailFL = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(y), |
| | | Width = Application.GetMinRealAverage(905), |
| | | Height = Application.GetMinRealAverage(170), |
| | | Width = this.GetPictrueRealSize(905), |
| | | Height = this.GetPictrueRealSize(170), |
| | | //BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor, |
| | | //Radius = (uint)Application.GetRealHeight(height / 2), |
| | | Gravity = Gravity.CenterHorizontal |
| | |
| | | |
| | | var bg = new Button |
| | | { |
| | | Width = Application.GetMinRealAverage(905), |
| | | Height = Application.GetMinRealAverage(170), |
| | | Width = this.GetPictrueRealSize(905), |
| | | Height = this.GetPictrueRealSize(170), |
| | | UnSelectedImagePath = "Account/PhoneEmail_White.png", |
| | | Gravity = Gravity.CenterHorizontal |
| | | }; |
| | |
| | | SelectedPhone = new Button() |
| | | { |
| | | X=Application.GetRealWidth(10), |
| | | Width = Application.GetMinRealAverage(905 / 2 + 20), |
| | | Height=Application.GetMinRealAverage(height), |
| | | Width = this.GetPictrueRealSize(905 / 2 + 20), |
| | | Height=this.GetPictrueRealSize(height), |
| | | SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor, |
| | | TextID = R.MyInternationalizationString.PhoneNum, |
| | | TextColor = ZigbeeColor.Current.GXCTextColor, |
| | |
| | | |
| | | SelectedEmail = new Button() |
| | | { |
| | | X = Application.GetMinRealAverage(905 / 2 - 20), |
| | | Width = Application.GetMinRealAverage(905 / 2 + 20), |
| | | Height = Application.GetMinRealAverage(height), |
| | | X = this.GetPictrueRealSize(905 / 2 - 20), |
| | | Width = this.GetPictrueRealSize(905 / 2 + 20), |
| | | Height = this.GetPictrueRealSize(height), |
| | | SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor, |
| | | TextID = R.MyInternationalizationString.Email, |
| | | TextColor = ZigbeeColor.Current.GXCTextColor, |
| | |
| | | } |
| | | } |
| | | |
| | | public class PhoneRowForm : FrameLayout |
| | | public class PhoneRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// 手机区号btn |
| | |
| | | } |
| | | } |
| | | |
| | | public class PhoneLoginRowForm : FrameLayout |
| | | public class PhoneLoginRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// 账号输入控件 |
| | |
| | | var accountBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(69), |
| | | Width = Application.GetMinRealAverage(Button_Height), |
| | | Height = Application.GetMinRealAverage(Button_Height), |
| | | Width = this.GetPictrueRealSize(Button_Height), |
| | | Height = this.GetPictrueRealSize(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Account/Account.png" |
| | | }; |
| | |
| | | } |
| | | } |
| | | |
| | | public class EmailRowForm : FrameLayout |
| | | public class EmailRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// 账号输入控件 |
| | |
| | | var accountBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(29), |
| | | Width = Application.GetMinRealAverage(Button_Height), |
| | | Height = Application.GetMinRealAverage(Button_Height), |
| | | Width = this.GetPictrueRealSize(Button_Height), |
| | | Height = this.GetPictrueRealSize(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Account/Account.png" |
| | | }; |
| | |
| | | } |
| | | |
| | | |
| | | public class EmailLoginRowForm : FrameLayout |
| | | public class EmailLoginRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// 账号输入控件 |
| | |
| | | var accountBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(69), |
| | | Width = Application.GetMinRealAverage(Button_Height), |
| | | Height = Application.GetMinRealAverage(Button_Height), |
| | | Width = this.GetPictrueRealSize(Button_Height), |
| | | Height = this.GetPictrueRealSize(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Account/Account.png" |
| | | }; |
| | |
| | | |
| | | } |
| | | |
| | | public class EmailForgotRowForm : FrameLayout |
| | | public class EmailForgotRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// 账号输入控件 |
| | |
| | | } |
| | | } |
| | | |
| | | public class VerificationCodeRowForm : FrameLayout |
| | | public class VerificationCodeRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// Button_Height |
| | |
| | | var codeBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(29), |
| | | Width = Application.GetMinRealAverage(Button_Height), |
| | | Height = Application.GetMinRealAverage(Button_Height), |
| | | Width = this.GetPictrueRealSize(Button_Height), |
| | | Height = this.GetPictrueRealSize(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Account/Code.png" |
| | | }; |
| | |
| | | } |
| | | } |
| | | |
| | | public class PwdRowForm : FrameLayout |
| | | public class PwdRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// PasswrodET |
| | |
| | | var passwordBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(29), |
| | | Width = Application.GetMinRealAverage(Button_Height), |
| | | Height = Application.GetMinRealAverage(Button_Height), |
| | | Width = this.GetPictrueRealSize(Button_Height), |
| | | Height = this.GetPictrueRealSize(Button_Height), |
| | | Gravity=Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Account/Password.png" |
| | | }; |
| | |
| | | } |
| | | } |
| | | |
| | | public class PwdLoginRowForm : FrameLayout |
| | | public class PwdLoginRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// PasswrodET |
| | |
| | | var passwordBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(69), |
| | | Width = Application.GetMinRealAverage(Button_Height), |
| | | Height = Application.GetMinRealAverage(Button_Height), |
| | | Width = this.GetPictrueRealSize(Button_Height), |
| | | Height = this.GetPictrueRealSize(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Account/Password.png" |
| | | }; |
| | |
| | | } |
| | | } |
| | | |
| | | public class PwdForForgetRowForm : FrameLayout |
| | | public class PwdForForgetRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// PasswrodET |
| | |
| | | } |
| | | } |
| | | |
| | | public class CodeForRegisterRowForm : FrameLayout |
| | | public class CodeForRegisterRowForm : FrameLayoutBase |
| | | { |
| | | /// <summary> |
| | | /// Button_Height |
| | |
| | | var codeBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(29), |
| | | Width = Application.GetMinRealAverage(Button_Height), |
| | | Height = Application.GetMinRealAverage(Button_Height), |
| | | Width = this.GetPictrueRealSize(Button_Height), |
| | | Height = this.GetPictrueRealSize(Button_Height), |
| | | Gravity = Gravity.CenterVertical, |
| | | UnSelectedImagePath = "Account/Code.png" |
| | | }; |