From 38ab16c66df6fc523f2c385fd583a2f2e86a781c Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 29 四月 2020 17:58:45 +0800 Subject: [PATCH] 2020-4-29-1 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs index b929a2f..e0ea8f3 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceSearchForm.cs @@ -97,7 +97,7 @@ //鍥剧墖 var btnPic = new PicViewControl(878, 478); - btnPic.Y = Application.GetMinRealAverage(251); + btnPic.Y = Application.GetRealHeight(251); btnPic.Gravity = Gravity.CenterHorizontal; btnPic.UnSelectedImagePath = "Instruct/DeviceSearch.png"; bodyFrameLayout.AddChidren(btnPic); @@ -314,20 +314,20 @@ /// </summary> private void StartConcetionAnimeteThread() { - int iconSize = Application.GetMinRealAverage(23); + int iconSize = this.GetPictrueRealSize(23); var listPoint = new List<int>(); for (int i = 0; i < 9; i++) { //X杞�+Index*(鍥炬爣澶у皬+闂磋窛) - listPoint.Add(Application.GetMinRealAverage(394) + i * (iconSize + Application.GetMinRealAverage(10))); + listPoint.Add(this.GetPictrueRealSize(394) + i * (iconSize + this.GetPictrueRealSize(10))); } var btnRound = new PicViewControl(iconSize, iconSize, false); btnRound.Radius = (uint)iconSize / 2; btnRound.BackgroundColor = UserCenterColor.Current.ConcetionRoundColor; btnRound.X = listPoint[0]; - btnRound.Y = Application.GetMinRealAverage(475); + btnRound.Y = this.GetPictrueRealSize(475); bodyFrameLayout.AddChidren(btnRound); HdlThreadLogic.Current.RunThread(() => -- Gitblit v1.8.0