From 2bbb1b72dbce5cf9bd4ac4a5b7488e3f18eaf929 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 19 十二月 2020 18:37:38 +0800 Subject: [PATCH] 2020-12-19 1.IOS和Android网络切换,远程和本地控制切换优化。 2.IOS和Android后台回到前台,搜索网关,远程和本地控制切换优化. --- HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs b/HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs new file mode 100755 index 0000000..877297c --- /dev/null +++ b/HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs @@ -0,0 +1,55 @@ +锘縰sing System; +using HDL_ON.UI.CSS; +using Shared; + +namespace HDL_ON.UI +{ + /// <summary> + /// 閫氱敤鎻愮ずView--鍐呭涓虹┖ + /// 绌虹┖濡備篃 + /// </summary> + public class EmptyTipView : FrameLayout + { + /// <summary> + /// 鎻愮ず鏂囧瓧 + /// </summary> + public Button BtnTipNotText; + + /// <summary> + /// 鎻愮ず鍥剧墖 + /// </summary> + public Button BtnTipNot; + + /// <summary> + /// + /// </summary> + public EmptyTipView() + { + int tipHeight = Application.GetRealWidth(180); + + this.Height = tipHeight + Application.GetRealHeight(17); + + BtnTipNot = new Button() + { + Gravity = Gravity.CenterHorizontal, + Width = tipHeight, + Height = tipHeight, + UnSelectedImagePath = "TipNot.png", + }; + this.AddChidren(BtnTipNot); + + //绌虹┖濡備篃 + Button btnTipNotText = new Button() + { + Y = tipHeight, + Height = Application.GetRealHeight(17), + TextID = StringId.ContentIsEmpty, + TextAlignment = TextAlignment.Center, + TextColor = CSS_Color.TextualColor, + TextSize = CSS_FontSize.PromptFontSize_FirstLevel, + }; + this.AddChidren(btnTipNotText); + } + + } +} -- Gitblit v1.8.0