From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本

---
 ZigbeeApp/Shared/Phone/UserCenter/Residence/AddNewRoomForm.cs |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Residence/AddNewRoomForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Residence/AddNewRoomForm.cs
index 17f8556..d7b0a71 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Residence/AddNewRoomForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Residence/AddNewRoomForm.cs
@@ -60,15 +60,11 @@
 
             //鍔犱竴涓櫧鑹茶儗鏅�
             var frameBack1 = new FrameLayout();
-            frameBack1.Height = Application.GetRealHeight(450);
+            frameBack1.Height = Application.GetRealHeight(750);
             frameBack1.Y = Application.GetRealHeight(196);
             frameBack1.BackgroundColor = UserCenterColor.Current.White;
             frameBack1.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
             listBackControl.frameTable.AddChidren(frameBack1);
-
-            //鍒濆鍖栦俊鎭甯�
-            var tableContr = new InformationEditorControl();
-            this.listview = tableContr.InitControl(listBackControl.frameTable, Language.StringByID(R.MyInternationalizationString.uInfoEditor), 1175);
 
             //鎴块棿鍥剧墖搴曢儴闃村奖
             var btnShadow = new PicViewControl(853, 593);
@@ -100,13 +96,14 @@
                 this.RoomPictrueSelect(btnPic);
             };
 
-            //鍙樻洿涓�涓嬮偅涓櫧鑹茶儗鏅殑Y杞�,瀹冨埌鍥剧墖鐨勪腑闂翠綅缃�
-            frameBack1.Y = btnPic.Y + btnPic.Height / 2;
-
             this.newRoom = new Common.Room();
             newRoom.FloorId = this.floorKeys;
             newRoom.BackgroundImage = btnPic.ImagePath;
 
+            //鍒濆鍖栦俊鎭甯�
+            var tableContr = new InformationEditorControl();
+            this.listview = tableContr.InitControl(listBackControl.frameTable, Language.StringByID(R.MyInternationalizationString.uInfoEditor), bodyFrameLayout.Height - btnShadow.Bottom, false);
+
             //娣诲姞鍏ㄩ儴鑿滃崟
             this.AddAllMenuRow(tableContr, btnPic);
         }

--
Gitblit v1.8.0