From 7b60238359b94125d591678eff105ae2bf47843f Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期五, 15 十一月 2019 13:16:21 +0800
Subject: [PATCH] 2019.11.15
---
ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedListRoomForm.cs | 21 +++------------------
1 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedListRoomForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedListRoomForm.cs
index de98c4b..5e39b80 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedListRoomForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/SharedContent/AddNewSharedListRoomForm.cs
@@ -199,26 +199,12 @@
frameTemp.Height = bodyFrameLayout.Height - btnShard.Y;
listView.AddChidren(frameTemp);
}
- if (listView.ChildrenCount == 0)
+ if (listDataRoom.Count == 0)
{
//濡傛灉娌℃湁鑳藉鍏变韩鐨勬埧闂�
bodyFrameLayout.RemoveAll();
-
- //鍥剧墖
- var btnPic = new PicViewControl(383, 279);
- btnPic.Gravity = Gravity.CenterHorizontal;
- btnPic.Y = Application.GetRealHeight(498);
- btnPic.UnSelectedImagePath = "Item/NotShardPic.png";
- bodyFrameLayout.AddChidren(btnPic);
-
//鏃犲彲鍏变韩鐨勬埧闂�
- var btnMsg1 = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(50), false);
- btnMsg1.Y = Application.GetRealHeight(962);
- btnMsg1.TextAlignment = TextAlignment.Center;
- btnMsg1.TextSize = 12;
- btnMsg1.TextColor = UserCenterColor.Current.TextGrayColor1;
- btnMsg1.TextID = R.MyInternationalizationString.uNotShardDeviceInAllRoomMsg;
- bodyFrameLayout.AddChidren(btnMsg1);
+ this.ShowNotDataImage(bodyFrameLayout, Language.StringByID(R.MyInternationalizationString.uNotCanShardRoomMsg), "Item/NotShardPic.png", 383, 279);
}
});
}
@@ -235,7 +221,7 @@
listView.AddChidren(row);
//鍥炬爣
var btnIcon = row.AddLeftIcon(81);
- btnIcon.UnSelectedImagePath = "Item/RoomIcon.png";
+ btnIcon.UnSelectedImagePath = "Item/RoomIconSelected.png";
//鎴块棿鍚�
var btnName = row.AddLeftCaption(room.Name, 650);
btnName.TextSize = 15;
@@ -249,7 +235,6 @@
var form = new AddNewSharedContentForm();
form.AddForm(room, memberShardInfo);
};
-
//閫夋嫨
var btnSelect = row.AddMostRightEmptyIcon(69, 69);
--
Gitblit v1.8.0