From e22fdb94322e6cec38e5e4a9aec13d431a133fde Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期二, 28 四月 2020 16:32:35 +0800 Subject: [PATCH] 上传合并后的代码 --- ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorPirDirectionForm.cs | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorPirDirectionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorPirDirectionForm.cs index 5d83487..e8f209c 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorPirDirectionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Direction/SensorPirDirectionForm.cs @@ -30,8 +30,8 @@ { //鍥剧墖 var framePic = new FrameLayout(); - framePic.Width = Application.GetMinRealAverage(860); - framePic.Height = Application.GetMinRealAverage(714); + framePic.Width = this.GetPictrueRealSize(860); + framePic.Height = this.GetPictrueRealSize(714); framePic.Gravity = Gravity.CenterHorizontal; framePic.Y = Application.GetRealHeight(130); bodyFrameLayout.AddChidren(framePic); @@ -40,9 +40,9 @@ framePic.AddChidren(btnPic); //鎸囩ず鐏彉缁裤�侀棯鐑� - var btnGreanLinght = new NormalViewControl(Application.GetMinRealAverage(455), Application.GetMinRealAverage(45), false); - btnGreanLinght.X = Application.GetMinRealAverage(398); - btnGreanLinght.Y = Application.GetMinRealAverage(300); + var btnGreanLinght = new NormalViewControl(this.GetPictrueRealSize(455), this.GetPictrueRealSize(45), false); + btnGreanLinght.X = this.GetPictrueRealSize(398); + btnGreanLinght.Y = this.GetPictrueRealSize(300); btnGreanLinght.TextAlignment = TextAlignment.Center; btnGreanLinght.TextColor = UserCenterColor.Current.TextGrayColor3; btnGreanLinght.TextSize = 10; @@ -50,18 +50,18 @@ framePic.AddChidren(btnGreanLinght); //鎸囩ず鐏� - var btnLinght = new NormalViewControl(Application.GetMinRealAverage(250), Application.GetMinRealAverage(45), false); - btnLinght.X = Application.GetMinRealAverage(398); - btnLinght.Y = Application.GetMinRealAverage(642); + var btnLinght = new NormalViewControl(this.GetPictrueRealSize(250), this.GetPictrueRealSize(45), false); + btnLinght.X = this.GetPictrueRealSize(398); + btnLinght.Y = this.GetPictrueRealSize(642); btnLinght.TextColor = UserCenterColor.Current.TextGrayColor3; btnLinght.TextSize = 10; btnLinght.TextID = R.MyInternationalizationString.uPilotLamp; framePic.AddChidren(btnLinght); //閽堝瓟寮忛噸缃寜閿� - var btnReset = new NormalViewControl(Application.GetMinRealAverage(250), Application.GetMinRealAverage(45), false); - btnReset.X = Application.GetMinRealAverage(512); - btnReset.Y = Application.GetMinRealAverage(512); + var btnReset = new NormalViewControl(this.GetPictrueRealSize(250), this.GetPictrueRealSize(45), false); + btnReset.X = this.GetPictrueRealSize(512); + btnReset.Y = this.GetPictrueRealSize(512); btnReset.TextColor = UserCenterColor.Current.TextGrayColor3; btnReset.TextSize = 10; btnReset.TextID = R.MyInternationalizationString.uPinholeTypeResetButton; -- Gitblit v1.8.0