From c1de48884fa145a16a0f8bcee93274dcfaa0ff82 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期四, 07 五月 2020 10:40:28 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into dev-2020xm
---
ZigbeeApp/Shared/Phone/Device/Logic/LogicView/mFunView.cs | 61 ++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/mFunView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/mFunView.cs
new file mode 100755
index 0000000..80e6b93
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/mFunView.cs
@@ -0,0 +1,61 @@
+锘縰sing System;
+using System.Collections.Generic;
+using Shared.Common;
+using Shared.R;
+using ZigBee.Device;
+
+namespace Shared.Phone.Device.Logic
+{
+ public class mFunView
+ {
+
+ public FrameLayout frameLayout = new FrameLayout
+ {
+ Height = Application.GetRealHeight(160),
+ };
+
+ public Button titleBtn = new Button
+ {
+ X = Application.GetRealWidth(80),
+ Y = Application.GetRealHeight(30),
+ Height = Application.GetRealHeight(130),
+ Width = Application.GetRealWidth(600),
+ //TextID = MyInternationalizationString.logicathomegarrison,
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor,
+ TextSize = 14,
+ };
+
+ public Button selectedIconBtn = new Button
+ {
+ Y = Application.GetRealHeight(65),
+ X = Application.GetRealWidth(860 + 80),
+ Width = Application.GetMinRealAverage(60),
+ Height = Application.GetMinRealAverage(60),
+ UnSelectedImagePath = "ZigeeLogic/selected.png",
+ Visible = false,
+ };
+ public Button lineBtn = new Button
+ {
+ //Y = Application.GetRealHeight(155),
+ Width = Application.GetRealWidth(920),
+ Height = 1, //Application.GetRealHeight(5),
+ X = Application.GetRealWidth(80),
+ BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor,
+ };
+ public Button clickviewBtn = new Button
+ {
+ Height = Application.GetRealHeight(160),
+ };
+ public FrameLayout Show()
+ {
+ frameLayout.AddChidren(titleBtn);
+ frameLayout.AddChidren(selectedIconBtn);
+ lineBtn.Y = frameLayout.Height - 1;
+ frameLayout.AddChidren(lineBtn);
+ frameLayout.AddChidren(clickviewBtn);
+ return frameLayout;
+ }
+
+ }
+}
--
Gitblit v1.8.0