| | |
| | | |
| | | namespace Shared.Phone.UserView |
| | | { |
| | | /// <summary>
|
| | | /// 该类已经废弃
|
| | | /// </summary> |
| | | public class LoginLoading : FrameLayout |
| | | { |
| | | public LoginLoading() |
| | | { |
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor; |
| | | Tag = "Login"; |
| | | this.BackgroundImagePath = "Logo/StartBackGroud.png"; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// show |
| | | /// </summary> |
| | | public void Show() |
| | | { |
| | | var sceneBtn = new ImageView() |
| | | { |
| | | Width=Application.GetMinRealAverage(1080), |
| | | Height=Application.GetMinRealAverage(1920), |
| | | ImagePath="Logo/2.jpg" |
| | | }; |
| | | AddChidren(sceneBtn); |
| | | //Logo图标 |
| | | var btnIcon = new Button(); |
| | | btnIcon.Y = Application.GetRealHeight(570); |
| | | btnIcon.Width = UserCenter.HdlControlLogic.Current.GetPictrueRealSize(184);
|
| | | btnIcon.Height = UserCenter.HdlControlLogic.Current.GetPictrueRealSize(184); |
| | | btnIcon.UnSelectedImagePath = "Logo/Logo.png"; |
| | | btnIcon.Gravity = Gravity.CenterHorizontal; |
| | | this.AddChidren(btnIcon); |
| | | |
| | | //Evoyo Home |
| | | var btnText = new Button(); |
| | | btnText.Height = Application.GetRealHeight(70); |
| | | btnText.Y = btnIcon.Bottom; |
| | | btnText.TextAlignment = TextAlignment.Center;
|
| | | btnText.Text = "Evoyo Home";
|
| | | btnText.TextColor = UserCenter.UserCenterColor.Current.White;
|
| | | btnText.TextSize = 16;
|
| | | this.AddChidren(btnText); |
| | | |
| | | //智能改变生活 | Enjoy smart life |
| | | var btnTip = new Button();
|
| | | btnTip.Height = btnIcon.Bottom + Application.GetRealHeight(850); |
| | | btnTip.Y = btnIcon.Bottom; |
| | | btnTip.TextAlignment = TextAlignment.Center;
|
| | | btnTip.TextSize = 16;
|
| | | btnTip.TextID = R.MyInternationalizationString.uLogoPageText;
|
| | | this.AddChidren(btnTip); |
| | | } |
| | | } |
| | | } |