From 627093aca723d4bfb971b97c828e8b3a22dbda78 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 17 七月 2020 17:26:19 +0800
Subject: [PATCH] 2020-07-17-1
---
ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorWaterDirectionForm.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorWaterDirectionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorWaterDirectionForm.cs
index d681c51..4f8a917 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorWaterDirectionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorWaterDirectionForm.cs
@@ -30,8 +30,8 @@
{
//鍥剧墖
var framePic = new FrameLayout();
- framePic.Width = Application.GetMinRealAverage(861);
- framePic.Height = Application.GetMinRealAverage(706);
+ framePic.Width = this.GetPictrueRealSize(861);
+ framePic.Height = this.GetPictrueRealSize(706);
framePic.Gravity = Gravity.CenterHorizontal;
framePic.Y = Application.GetRealHeight(135);
bodyFrameLayout.AddChidren(framePic);
@@ -40,9 +40,9 @@
framePic.AddChidren(btnPic);
//缁胯壊鎸囩ず鐏揩閫熼棯鐑�
- var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(501), Application.GetMinRealAverage(45), false);
- btnGreanLinght.X = Application.GetMinRealAverage(369);
- btnGreanLinght.Y = Application.GetMinRealAverage(358);
+ var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(501), this.GetPictrueRealSize(45), false);
+ btnGreanLinght.X = this.GetPictrueRealSize(369);
+ btnGreanLinght.Y = this.GetPictrueRealSize(358);
btnGreanLinght.TextAlignment = TextAlignment.Center;
btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
btnGreanLinght.TextSize = 10;
--
Gitblit v1.8.0