From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期一, 14 十二月 2020 09:59:01 +0800 Subject: [PATCH] 请合并代码,完成晾衣架最终功能。 --- ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs new file mode 100755 index 0000000..b2985c5 --- /dev/null +++ b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs @@ -0,0 +1,53 @@ +锘縰sing System; +using Shared.Common; +using Shared.Phone.Device.CommonForm; + +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() + { + //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