From 5727cf0b9b54da0a191dd1e23cb5abf21320fbff Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 25 十一月 2019 10:34:17 +0800
Subject: [PATCH] IOS使用新的项目名称

---
 ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedContentForm.cs |   29 +++++++++++++++++++++++------
 1 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedContentForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedContentForm.cs
index 03a1c54..5cf9e10 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedContentForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedContentForm.cs
@@ -1,7 +1,6 @@
 锘縰sing System;
 using System.Collections.Generic;
 using System.Text;
-using System.Threading.Tasks;
 using ZigBee.Device;
 
 namespace Shared.Phone.UserCenter.SharedContent
@@ -58,6 +57,7 @@
         /// 鐢婚潰鏄剧ず(搴曞眰浼氬浐瀹氳皟鐢ㄦ鏂规硶锛屽�熶互瀹屾垚鐢婚潰鍒涘缓)
         /// </summary>
         /// <param name="i_room">鏌ョ湅鐨勬埧闂村璞�</param>
+        /// <param name="i_memberShardInfo">鎴愬憳鐨勫垎浜暟鎹�</param>
         public void ShowForm(Common.Room i_room, MemberShardInfoData i_memberShardInfo)
         {
             this.lookRoom = i_room;
@@ -198,16 +198,33 @@
                     //鍦烘櫙鍥剧墖
                     var frameContr = new FrameLayoutControl();
                     frameContr.UseClickStatu = false;
-                    frameContr.Width = Application.GetRealWidth(878);
-                    frameContr.Height = Application.GetRealHeight(440);
-                    frameContr.Gravity = Gravity.CenterHorizontal;
-                    frameContr.BackgroundImagePath = data.IconPath;
+                    frameContr.Height = Application.GetRealHeight(470);
                     listView.AddChidrenFrame(frameContr);
+
+                    //鍦烘櫙鍥剧墖
+                    var btnPic = new ImageView();
+                    btnPic.X = Application.GetRealWidth(179);
+                    btnPic.Width = Application.GetRealWidth(844);
+                    btnPic.Height = Application.GetRealHeight(420);
+                    btnPic.ImagePath = data.IconPath;
+                    btnPic.Radius = 17;
+                    frameContr.AddChidren(btnPic);
+
+                    var btnName = new NormalViewControl(251, 282, true);
+                    btnName.X = ControlCommonResourse.XXLeft;
+                    btnName.Gravity = Gravity.CenterVertical;
+                    btnName.BackgroundColor = 0xff333333;
+                    btnName.Radius = 17;
+                    btnName.Text = data.Name;
+                    btnName.TextSize = 15;
+                    btnName.TextColor = UserCenterColor.Current.White;
+                    btnName.TextAlignment = TextAlignment.Center;
+                    frameContr.AddChidren(btnName);
 
                     var btnSelect = new IconViewControl(58);
                     btnSelect.UnSelectedImagePath = "Item/ItemUnSelected.png";
                     btnSelect.SelectedImagePath = "Item/ItemSelected.png";
-                    btnSelect.X = Application.GetRealWidth(786);
+                    btnSelect.X = Application.GetRealWidth(887);
                     btnSelect.Y = Application.GetRealHeight(35);
                     frameContr.AddChidren(btnSelect, ChidrenBindMode.BindEventOnly);
                     if (dicSelectScene.ContainsKey(data.Id) == true)

--
Gitblit v1.8.0