From db45c85a6ddebc5018b32a9d9dc04f839db3fa76 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 28 九月 2021 15:59:34 +0800
Subject: [PATCH] 组合调光
---
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..2d3665f
--- /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(22),
+
+ };
+ 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