From a01f2b7bb230a6a384ba1555280e3977154488a1 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 23 十二月 2020 20:42:44 +0800
Subject: [PATCH] 2020-12-23 1.解决点击通知栏打开不了APP问题
---
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
old mode 100644
new mode 100755
index 9263d75..e1487c5
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
@@ -10,7 +10,7 @@
public FrameLayout frameLayout = new FrameLayout
{
X = Application.GetRealWidth(16),
- Y = Application.GetRealHeight(12),
+ //Y = Application.GetRealHeight(12),
Width = Application.GetRealWidth(343),
Height = Application.GetRealHeight(102),
BackgroundColor = CSS.CSS_Color.view,
@@ -72,13 +72,22 @@
/// </summary>
public Button btnSwitchIcon = new Button
{
- Width = Application.GetMinRealAverage(36),
- Height = Application.GetMinRealAverage(36),
+ Width = Application.GetRealWidth(36),
+ Height = Application.GetRealWidth(36),
Y = Application.GetRealHeight(58),
X = Application.GetRealWidth(295),
UnSelectedImagePath = "LogicIcon/off.png",
+ SelectedImagePath = "LogicIcon/on.png",
- };
+ };
+ /// <summary>
+ /// 鐐瑰嚮浜嬩欢
+ /// </summary>
+ public Button btnclick= new Button
+ {
+ Width = Application.GetRealWidth(343),
+ Height = Application.GetRealHeight(102),
+ };
/// <summary>
/// View鐨勬柟娉�
@@ -90,6 +99,7 @@
frameLayout.AddChidren(btnWeekText);
frameLayout.AddChidren(btnStateIcon);
frameLayout.AddChidren(btnLienIcon);
+ frameLayout.AddChidren(btnclick);
frameLayout.AddChidren(btnSwitchIcon);
return frameLayout;
}
--
Gitblit v1.8.0