From f759dc1e6f49c53733eafda82207c85af18f9931 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 28 五月 2020 15:46:54 +0800 Subject: [PATCH] 2020-05-28-1 --- ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs | 36 +++++++++++++++++++++++++++++------- 1 files changed, 29 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs index db26b57..0509967 100755 --- a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs +++ b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs @@ -10,19 +10,41 @@ { 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); + + //Hdl Home + var btnText = new Button(); + btnText.Height = Application.GetRealHeight(70); + btnText.Y = btnIcon.Bottom; + btnText.TextAlignment = TextAlignment.Center; + btnText.Text = "Hdl 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