From 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 21 七月 2020 09:46:53 +0800 Subject: [PATCH] 请合并最新多功能面板代码 --- ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 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..5843073 --- /dev/null +++ b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs @@ -0,0 +1,50 @@ +锘縰sing System; +using Shared.Common; +using Shared.Phone.Device.CommonForm; + +namespace Shared.Phone.UserView +{ + 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); + + //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