From c6ff92e84b6cb2815cb98065ecb0ecf95d0689c3 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期三, 15 一月 2020 09:42:29 +0800
Subject: [PATCH] 2020-01-15-1

---
 ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs
old mode 100755
new mode 100644
index 72eb5ed..932c51b
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/DeviceDetailInfo.cs
@@ -118,7 +118,7 @@
                 Height = Application.GetMinRealAverage(207),
                 Gravity = Gravity.CenterHorizontal,
                 BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor,
-                Radius = (uint)Application.GetMinRealAverage(207)
+                Radius = (uint)Application.GetMinRealAverage(207/2)
             };
             bodyFrameLayout.AddChidren(deviceBG);
 
@@ -129,7 +129,7 @@
                 Height = Application.GetMinRealAverage(184),
                 Gravity = Gravity.CenterHorizontal,
                 BackgroundColor = ZigbeeColor.Current.GXCSelectedBackgroundColor,
-                Radius = (uint)Application.GetMinRealAverage(184)
+                Radius = (uint)Application.GetMinRealAverage(184/2)
             };
             bodyFrameLayout.AddChidren(deviceBG2);
 
@@ -162,6 +162,8 @@
                 BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor
             };
             bodyFrameLayout.AddChidren(infoFL);
+            var rectCornerID = HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight;
+            infoFL.SetCornerWithSameRadius(Application.GetRealHeight(50), rectCornerID);
 
             var tipBtn = new Button
             {

--
Gitblit v1.8.0