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/TypeView.cs | 73 ++++++++++++++++++++++++++++++++++++
1 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TypeView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TypeView.cs
new file mode 100755
index 0000000..49164d9
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TypeView.cs
@@ -0,0 +1,73 @@
+锘縰sing System;
+using System.Collections.Generic;
+using Shared.Common;
+using Shared.R;
+using ZigBee.Device;
+namespace Shared.Phone.Device.Logic.LogicView
+{
+ public class TypeView
+ {
+ public FrameLayout frameLayout = new FrameLayout
+ {
+ Height = Application.GetRealHeight(160),
+ BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor,
+ };
+
+ public Button textBtn = new Button
+ {
+ X = Application.GetRealWidth(58),
+ Y = Application.GetRealHeight(30),
+ Text = Language.StringByID(MyInternationalizationString.type),
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+ Width = Application.GetRealWidth(265),
+ Height = Application.GetRealHeight(130),
+ TextSize = 14,
+
+ };
+
+ public Button titleBtn = new Button
+ {
+ Y = Application.GetRealHeight(30),
+ X = Application.GetRealWidth(265 + 58),
+ Height = Application.GetRealHeight(130),
+ Width = Application.GetRealWidth(630),
+ TextAlignment = TextAlignment.CenterRight,
+ TextColor = ZigbeeColor.Current.LogicTextBlackColor,
+ TextSize = 14,
+ };
+
+ public Button backBtn = new Button
+ {
+ X = Application.GetRealWidth(265 + 58 + 630) + Application.GetRealWidth(12),
+ Y = Application.GetRealHeight(30 + 36),
+ Width = Application.GetRealWidth(58),
+ Height = Application.GetRealHeight(58),
+ UnSelectedImagePath = "ZigeeLogic/next.png",
+ };
+
+ public Button lineBtn = new Button
+ {
+ // Y = Application.GetRealHeight(155),
+ Width = Application.GetRealWidth(965),
+ Height =1,// Application.GetRealHeight(5),
+ X = Application.GetRealWidth(58),
+ BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor,
+ };
+ public Button clickviewBtn = new Button
+ {
+ Height = Application.GetRealHeight(160),
+ };
+ public FrameLayout Show()
+ {
+ frameLayout.AddChidren(textBtn);
+ frameLayout.AddChidren(titleBtn);
+ frameLayout.AddChidren(backBtn);
+ lineBtn.Y = frameLayout.Height - 1;
+ frameLayout.AddChidren(lineBtn);
+ frameLayout.AddChidren(clickviewBtn);
+ return frameLayout;
+
+ }
+ }
+}
--
Gitblit v1.8.0