From a46cd0adb5af29e8a9cf47c219475acaedfcf839 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 01 十二月 2020 17:09:00 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/WJC' --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SaveView.cs | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SaveView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SaveView.cs new file mode 100644 index 0000000..6094c45 --- /dev/null +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SaveView.cs @@ -0,0 +1,51 @@ +锘縰sing System; +using Shared; +namespace HDL_ON.UI.UI2.Intelligence.Automation.LogicView +{ + public class SaveView + { + /// <summary> + /// 涓绘帶浠禫iew + /// </summary> + public FrameLayout frameLayout = new FrameLayout + { + Y = Application.GetRealHeight(TextSize.view667 - 76), + Height = Application.GetRealHeight(76), + Width = Application.GetRealWidth(TextSize.view375), + Gravity=Gravity.BottomCenter,//缃簳鐨勫睘鎬� + BackgroundColor = CSS.CSS_Color.view, + + }; + /// <summary> + /// 锛堟潯浠舵垨鑰呯洰鏍囷級鏂囨湰鎻忚堪 + /// </summary> + public Button btnSave= new Button + { + Width = Application.GetRealWidth(220), + Height = Application.GetRealHeight(44), + Y = Application.GetRealHeight(12), + X = Application.GetRealWidth(78), + TextID = StringId.save, + TextSize = TextSize.text16, + TextColor = CSS.CSS_Color.textWhiteColor, + TextAlignment = TextAlignment.Center, + BackgroundColor= CSS.CSS_Color.btnSaveBackgroundColor, + Radius = (uint)Application.GetRealHeight(44), + + }; + public Button btnClick = new Button + { + Height = Application.GetRealHeight(76), + }; + /// <summary> + /// 淇濆瓨 + /// </summary> + /// <returns></returns> + public FrameLayout FLayoutView() + { + frameLayout.AddChidren(btnSave); + frameLayout.AddChidren(btnClick); + return frameLayout; + } + } +} -- Gitblit v1.8.0