From a5b3c4bae726ef6770d4bfcbf2f4b50a37ed4a15 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 06 三月 2020 15:31:36 +0800
Subject: [PATCH] 删除了郭雪城的 DeviceUi 这个类
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs
index 0798972..0e07a8a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs
@@ -17,7 +17,7 @@
public ScenePictrueControl()
{
this.UseClickStatu = false;
- this.Height = Application.GetRealHeight(420);
+ this.Height = Application.GetRealHeight(440);
}
/// <summary>
@@ -42,14 +42,11 @@
btnPic.Radius = (uint)Application.GetRealHeight(17);
this.AddChidren(btnPic, ChidrenBindMode.NotBind);
- //瀹冪殑涓婇潰鏈変竴灞傞槾褰�
- var frameBack = new FrameLayout();
- frameBack.Width = btnPic.Width;
- frameBack.Height = btnPic.Height;
- frameBack.X = btnPic.X;
- frameBack.BackgroundColor = 0x40000000;
- frameBack.Radius = (uint)Application.GetRealHeight(17);
- this.AddChidren(frameBack, ChidrenBindMode.BindEventOnly);
+ //闃村奖
+ var btnShadow = new PicViewControl(btnPic.Width + Application.GetRealWidth(14 * 2), btnPic.Height + Application.GetRealHeight(43), false);
+ btnShadow.X = btnPic.X - Application.GetRealWidth(14);
+ btnShadow.UnSelectedImagePath = "Scene/SceneShadow.png";
+ this.AddChidren(btnShadow, ChidrenBindMode.BindEventOnly);
var btnName = new NormalViewControl(251, 282, true);
btnName.IsMoreLines = true;
--
Gitblit v1.8.0