From 4f0ab0ad21ce450b7856d50f98322a7899361386 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期二, 22 九月 2020 10:30:01 +0800
Subject: [PATCH] 不要下载这个备份
---
ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorFireDirectionForm.cs | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorFireDirectionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorFireDirectionForm.cs
index f579a2c..01557a1 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorFireDirectionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorFireDirectionForm.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(357);
- btnGreanLinght.Y = Application.GetMinRealAverage(326);
+ var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(501), this.GetPictrueRealSize(45), false);
+ btnGreanLinght.X = this.GetPictrueRealSize(357);
+ btnGreanLinght.Y = this.GetPictrueRealSize(326);
btnGreanLinght.TextAlignment = TextAlignment.Center;
btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
btnGreanLinght.TextSize = 10;
@@ -55,9 +55,9 @@
{
textMsg = string.Format(textMsg, "5");
}
- var btnSecond = new NormalViewControl(Application.GetMinRealAverage(360), Application.GetMinRealAverage(45), false);
- btnSecond.X = Application.GetMinRealAverage(400);
- btnSecond.Y = Application.GetMinRealAverage(614);
+ var btnSecond = new NormalViewControl(this.GetPictrueRealSize(360), this.GetPictrueRealSize(45), false);
+ btnSecond.X = this.GetPictrueRealSize(400);
+ btnSecond.Y = this.GetPictrueRealSize(614);
btnSecond.TextColor = UserCenterColor.Current.TextGrayColor3;
btnSecond.TextSize = 10;
btnSecond.Text = textMsg;
--
Gitblit v1.8.0