From 25429f085093d89d543a0b90e30d0d62d1b7dac9 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 30 八月 2022 09:37:38 +0800 Subject: [PATCH] 合并了IOS的代码 --- ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs | 39 ++++++++++++++++++++++++++++++++------- 1 files changed, 32 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs index db26b57..b2985c5 100755 --- a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs +++ b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs @@ -4,25 +4,50 @@ 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); } } } -- Gitblit v1.8.0