From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本
---
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs
index f61552e..840b0f4 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection2Form.cs
@@ -62,8 +62,8 @@
//鍥剧墖
var framePic = new FrameLayout();
- framePic.Width = Application.GetMinRealAverage(852);
- framePic.Height = Application.GetMinRealAverage(478);
+ framePic.Width = this.GetPictrueRealSize(852);
+ framePic.Height = this.GetPictrueRealSize(478);
framePic.Gravity = Gravity.CenterHorizontal;
framePic.Y = Application.GetRealHeight(285);
framePic.BackgroundImagePath = "Gateway/WirelessGatewaySearching.png";
@@ -97,7 +97,7 @@
};
bodyFrameLayout.AddChidren(btnSettion);
//搴曠嚎
- int lineWidth = btnSettion.GetRealWidthByText(12);
+ int lineWidth = btnSettion.GetRealWidthByText();
var btnLine1 = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
btnLine1.BackgroundColor = 0xff0075ff;
btnLine1.Gravity = Gravity.CenterHorizontal;
--
Gitblit v1.8.0