From 944b87b6bcccb095cd73f13f4410fb20faf48f74 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期三, 25 十二月 2019 11:21:06 +0800
Subject: [PATCH] 2019.12.25
---
ZigbeeApp/Shared/Phone/Device/CommonForm/SelectZone.cs | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectZone.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectZone.cs
index caedc18..78d0cef 100644
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectZone.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/SelectZone.cs
@@ -43,8 +43,6 @@
};
dialog.AddChidren(backgroundFL);
- backgroundFL.Animate = Animate.DownToUp;
-
var topView = new FrameLayout
{
Height = Application.GetRealHeight(138)
@@ -58,7 +56,7 @@
TextAlignment = TextAlignment.CenterLeft,
TextColor = ZigbeeColor.Current.GXCTextGrayColor,
TextID = R.MyInternationalizationString.Cancel,
- TextSize = 16
+ TextSize = 14
};
topView.AddChidren(cancle);
@@ -79,7 +77,7 @@
TextAlignment = TextAlignment.CenterRight,
TextColor = ZigbeeColor.Current.GXCTextSelectedColor2,
TextID = R.MyInternationalizationString.Confrim,
- TextSize = 16
+ TextSize = 14
};
topView.AddChidren(confrim);
@@ -96,6 +94,10 @@
}
foreach (var room in Shared.Common.Room.Lists)
{
+ if(room.IsLove)
+ {
+ continue;
+ }
roomList.Add(room.Name);
roomIdList.Add(room.Id);
}
@@ -103,6 +105,7 @@
if (floorList.Count == 0)
{
pickView.setNPicker(roomList, null, null);
+ currentId = roomIdList[0];
pickView.OnSelectChangeEvent += (l1, l2, l3) =>
{
currentId = roomIdList[l1];
@@ -111,6 +114,7 @@
else
{
pickView.setNPicker(floorList, roomList, null);
+ currentId = roomIdList[0];
pickView.OnSelectChangeEvent += (l1, l2, l3) =>
{
currentId = roomIdList[l2];
--
Gitblit v1.8.0