From 5204bc34549ba4718158c447cbb3c74b39ffe163 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期一, 02 十二月 2019 16:03:29 +0800 Subject: [PATCH] 2019.12.2 --- ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs index ab15511..7748134 100644 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs @@ -69,14 +69,11 @@ X = Application.GetRealWidth(179), Width = Application.GetRealWidth(844), Height = Application.GetRealHeight(400), - UnSelectedImagePath = scene.IconPath, + UnSelectedImagePath = scene.IconPathType == 0 ? scene.IconPath : System.IO.Path.Combine(Config.Instance.FullPath, scene.IconPath), Radius = (uint)Application.GetRealHeight(17) }; sceneRowLayout.AddChidren(sceneImg); - if (scene.IconPathType != 0) - { - sceneImg.UnSelectedImagePath = System.IO.Path.Combine(Config.Instance.FullPath, scene.IconPath); - } + sceneImg.SetViewShadow(true); var leftFL = new FrameLayout -- Gitblit v1.8.0