From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001
From: lss <316519258@qq.com>
Date: 星期五, 12 六月 2020 09:22:04 +0800
Subject: [PATCH] 2020.06.12

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/PanelFangyueTwoButtonDirectionForm.cs |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/PanelFangyueTwoButtonDirectionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/PanelFangyueTwoButtonDirectionForm.cs
index 838d5ea..c34dadd 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/PanelFangyueTwoButtonDirectionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/PanelFangyueTwoButtonDirectionForm.cs
@@ -30,8 +30,8 @@
         {
             //鍥剧墖
             var framePic = new FrameLayout();
-            framePic.Width = Application.GetMinRealAverage(835);
-            framePic.Height = Application.GetMinRealAverage(711);
+            framePic.Width = this.GetPictrueRealSize(835);
+            framePic.Height = this.GetPictrueRealSize(711);
             framePic.Gravity = Gravity.CenterHorizontal;
             framePic.Y = Application.GetRealHeight(115);
             bodyFrameLayout.AddChidren(framePic);
@@ -40,22 +40,22 @@
             framePic.AddChidren(btnPic);
 
             //鎸夐敭鎸囩ず鐏寒璧�
-            var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(455), Application.GetMinRealAverage(45), false);
-            btnGreanLinght.X = Application.GetMinRealAverage(374);
-            btnGreanLinght.Y = Application.GetMinRealAverage(258);
+            var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(455), this.GetPictrueRealSize(45), false);
+            btnGreanLinght.X = this.GetPictrueRealSize(374);
+            btnGreanLinght.Y = this.GetPictrueRealSize(258);
             btnGreanLinght.TextAlignment = TextAlignment.Center;
             btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3;
             btnGreanLinght.TextSize = 10;
-            btnGreanLinght.TextID = R.MyInternationalizationString.uPanelBackLightLighting;
+            btnGreanLinght.TextID = R.MyInternationalizationString.uKeyIndicatorLightsUp;
             framePic.AddChidren(btnGreanLinght);
 
             //鎸変綇姝ゆ寜閿�
-            var btnPress = new NormalViewControl(Application.GetMinRealAverage(230), Application.GetMinRealAverage(45), false);
-            btnPress.X = Application.GetMinRealAverage(144);
-            btnPress.Y = Application.GetMinRealAverage(275);
+            var btnPress = new NormalViewControl(this.GetPictrueRealSize(230), this.GetPictrueRealSize(45), false);
+            btnPress.X = this.GetPictrueRealSize(144);
+            btnPress.Y = this.GetPictrueRealSize(279);
             btnPress.TextColor = UserCenterColor.Current.TextGrayColor3;
             btnPress.TextSize = 10;
-            btnPress.TextID = R.MyInternationalizationString.uKeyIndicatorLightsUp;
+            btnPress.TextID = R.MyInternationalizationString.uPressAndHoldThisKey;
             framePic.AddChidren(btnPress);
 
             //鎸変綇闈㈡澘宸︿笂瑙掓寜閿紝鎵�鏈夋寜閿寚绀虹伅

--
Gitblit v1.8.0