From 2ed75b8b337048e5d75e6d9ec8307633134f02fd Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 10 十月 2019 11:33:04 +0800
Subject: [PATCH] 个人中心添加楼层和创建房间,实装二级验证

---
 ZigbeeApp/Shared/Phone/Device/Room/AddRoomContent.cs |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Room/AddRoomContent.cs b/ZigbeeApp/Shared/Phone/Device/Room/AddRoomContent.cs
index 0744335..e3409b6 100755
--- a/ZigbeeApp/Shared/Phone/Device/Room/AddRoomContent.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Room/AddRoomContent.cs
@@ -59,6 +59,10 @@
             instance = this;
         }
 
+        public override void RemoveFromParent()
+        {
+            base.RemoveFromParent();
+        }
         #endregion
 
         #region 鈼� 鏄剧ず瑙嗗浘_________________________
@@ -70,7 +74,19 @@
         {
             CurrentRoom = room;
             #region topview
-            var topBGView = new FrameLayout()鈥�            {鈥�                Height = Application.GetRealHeight(CommonPage.Navigation_Height),鈥�                BackgroundColor = ZigbeeColor.Current.GXCTopViewBackgroundColor鈥�            };鈥�            AddChidren(topBGView);鈥�            var topView = new FrameLayout()鈥�            {鈥�                Y = Application.GetRealHeight(CommonPage.NavigationTitle_Y),鈥�                Height = Application.GetRealHeight(CommonPage.Navigation_Height - CommonPage.NavigationTitle_Y),鈥�                BackgroundColor = ZigbeeColor.Current.GXCTopViewBackgroundColor,鈥�            };鈥�            AddChidren(topView);
+            var topBGView = new FrameLayout()
+            {
+                Height = Application.GetRealHeight(CommonPage.Navigation_Height),
+                BackgroundColor = ZigbeeColor.Current.GXCTopViewBackgroundColor
+            };
+            AddChidren(topBGView);
+            var topView = new FrameLayout()
+            {
+                Y = Application.GetRealHeight(CommonPage.NavigationTitle_Y),
+                Height = Application.GetRealHeight(CommonPage.Navigation_Height - CommonPage.NavigationTitle_Y),
+                BackgroundColor = ZigbeeColor.Current.GXCTopViewBackgroundColor,
+            };
+            AddChidren(topView);
 
             var title = new Button()
             {
@@ -83,7 +99,8 @@
             };
             topView.AddChidren(title);
 
-            var back = new Device.CommonForm.BackButton() { };鈥�            topView.AddChidren(back);
+            var back = new Device.CommonForm.BackButton() { };
+            topView.AddChidren(back);
             back.MouseUpEventHandler += (sender, e) =>
             {
                 this.RemoveFromParent();

--
Gitblit v1.8.0