From 355bf4219bcd33f2178ed3b1aa54e0af71905fdf Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 19 三月 2021 09:44:27 +0800 Subject: [PATCH] Merge branch 'WJC' into temp-wxr --- HDL_ON/UI/UI2/FuntionControlView/Video/View/FrameLayout60.cs | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 102 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Video/View/FrameLayout60.cs b/HDL_ON/UI/UI2/FuntionControlView/Video/View/FrameLayout60.cs new file mode 100644 index 0000000..bedc8ec --- /dev/null +++ b/HDL_ON/UI/UI2/FuntionControlView/Video/View/FrameLayout60.cs @@ -0,0 +1,102 @@ +锘縰sing System; +using HDL_ON.UI.UI2.Intelligence.Automation.LogicView; +using Shared; +namespace HDL_ON.UI.UI2.FuntionControlView.Video.View +{ + public class FrameLayout60 + { + /// <summary> + /// 涓绘帶浠禫iew + /// </summary> + public FrameLayout frameLayout = new FrameLayout + { + Height = Application.GetRealHeight(60), + //BackgroundColor = CSS.CSS_Color.view, + }; + + /// <summary> + /// 鏂囨湰鎻忚堪 + /// </summary> + public Button btnText = new Button + { + Y=Application.GetRealHeight(10), + Width = Application.GetRealWidth(200), + Height = Application.GetRealHeight(20), + TextColor = CSS.CSS_Color.textColor, + TextSize = TextSize.text14, + Text= "闂ㄥ彛鏈哄懠鍙�", + TextAlignment = TextAlignment.CenterLeft, + }; + /// <summary> + /// 鏃堕棿鏂囨湰鎻忚堪 + /// </summary> + public Button btnTime = new Button + { + X=Application.GetRealWidth(82), + Y = Application.GetRealHeight(10), + Width = Application.GetRealWidth(120), + Height = Application.GetRealHeight(20), + TextColor = CSS.CSS_Color.textColor, + TextSize = TextSize.text14, + TextAlignment=TextAlignment.CenterLeft, + Text = "15:01", + }; + /// <summary> + /// 缂栬緫鏂囨湰 + /// </summary> + public Button btnEditText = new Button + { + Y = Application.GetRealHeight(32), + Width = Application.GetRealWidth(260), + Height = Application.GetRealHeight(17), + TextSize = TextSize.text12, + TextColor = CSS.CSS_Color.textCancelColor, + TextAlignment = TextAlignment.CenterLeft, + Text = "宸叉帴鍚�, 宸插紑閿�", + }; + + + /// <summary> + /// 鍥炬爣 + /// </summary> + public Button btnNextIcon = new Button + { + Width = Application.GetRealWidth(102), + Height = Application.GetRealWidth(56), + UnSelectedImagePath = "LogicIcon/next.png", + X = Application.GetRealWidth(191), + Visible=false, + }; + + /// <summary> + /// 绾� + /// </summary> + public Button btnLine = new Button + { + Width = Application.GetRealWidth(295), + Height = 1, + BackgroundColor = CSS.CSS_Color.viewLine, + + }; + + public Button btnClick = new Button + { + Height = Application.GetRealHeight(50), + }; + /// <summary> + /// View鐨勬柟娉� + /// </summary> + /// <returns></returns> + public FrameLayout FLayoutView() + { + frameLayout.AddChidren(btnText); + frameLayout.AddChidren(btnTime); + frameLayout.AddChidren(btnEditText); + frameLayout.AddChidren(btnNextIcon); + btnLine.Y = frameLayout.Height - 1; + frameLayout.AddChidren(btnLine); + frameLayout.AddChidren(btnClick); + return frameLayout; + } + } +} -- Gitblit v1.8.0