From bfb2a71ac711741e11c015f7150ea3c58eb6abd0 Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期四, 02 一月 2020 15:11:24 +0800
Subject: [PATCH] 2019.1.2

---
 ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs
index ee43ad7..f0cfe75 100644
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneCategoryView.cs
@@ -64,6 +64,7 @@
                 Tag= scene
             };
             AddChidren(sceneRowLayout);
+            sceneRowLayout.SubViewWidth = Application.GetRealWidth(199);
 
             sceneImg = new ImageView()
             {
@@ -74,7 +75,6 @@
                 Radius = (uint)Application.GetRealHeight(17)
             };
             sceneRowLayout.AddChidren(sceneImg);
-            //sceneImg.SetViewShadow(true);
 
             var leftFL = new FrameLayout
             {
@@ -164,8 +164,10 @@
             var delayBtn = new RowLayoutDeleteButton
             {
                 TextID = R.MyInternationalizationString.Delay,
-                Tag = scene.SceneDelayTime
+                Tag = scene.SceneDelayTime,
+                BackgroundColor=ZigbeeColor.Current.GXCTextSelectedColor,
             };
+            delayBtn.SetCornerWithSameRadius(Application.GetRealHeight(17), HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight | HDLUtils.RectCornerBottomRight);
             sceneRowLayout.AddLeftView(delayBtn);
             //缂栬緫
             var settingBtn = new Device.CommonForm.RowLayoutEditButton()
@@ -173,12 +175,13 @@
                 TextID = R.MyInternationalizationString.Editor,
                 Tag = scene.SceneDelayTime
             };
+            settingBtn.SetCornerWithSameRadius(Application.GetRealHeight(17), HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerTopLeft);
             //鍒犻櫎
             var deleteBtn = new Device.CommonForm.RowLayoutDeleteButton
             {
                 Tag = scene
             };
-
+            deleteBtn.SetCornerWithSameRadius(Application.GetRealHeight(17), HDLUtils.RectCornerTopRight | HDLUtils.RectCornerBottomRight);
             if (room.IsSharedRoom)
             {
 

--
Gitblit v1.8.0