From bb6ad792b598927a5459a5fb6f6c27fb1aa9e94e Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 17 十二月 2020 14:06:36 +0800 Subject: [PATCH] 20201217-1 --- 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 100644 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