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/MainPage/HomeMainPageForm.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs b/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs index 0b5571f..549615c 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs @@ -321,7 +321,7 @@ this.listBodyContr.frameTable.AddChidren(bg); var tip = new NormalViewControl(this.GetPictrueRealSize(717), this.GetPictrueRealSize(58), false); - tip.Y = Application.GetRealHeight(815); + tip.Y = bg.Bottom + Application.GetRealHeight(35); tip.Gravity = Gravity.CenterHorizontal; tip.TextID = R.MyInternationalizationString.NewAccountNeedBingGW; tip.TextColor = ZigbeeColor.Current.GXCTextGrayColor; @@ -329,13 +329,13 @@ this.listBodyContr.frameTable.AddChidren(tip); var addBG = new PicViewControl(971, 366); - addBG.Y = Application.GetRealHeight(1048); + addBG.Y = tip.Bottom + Application.GetRealHeight(176); addBG.UnSelectedImagePath = "Item/VirtualFrame.png"; addBG.Gravity = Gravity.CenterHorizontal; this.listBodyContr.frameTable.AddChidren(addBG); var addGatewayBtn = new IconViewControl(89); - addGatewayBtn.Y = Application.GetRealHeight(1143); + addGatewayBtn.Y = tip.Bottom + Application.GetRealHeight(271); addGatewayBtn.UnSelectedImagePath = "Item/Add_GW.png"; addGatewayBtn.Gravity = Gravity.CenterHorizontal; this.listBodyContr.frameTable.AddChidren(addGatewayBtn); @@ -346,7 +346,7 @@ }; var addTip = new PicViewControl(717, 58); - addTip.Y = Application.GetRealHeight(1256); + addTip.Y = addGatewayBtn.Bottom + Application.GetRealHeight(23); addTip.Gravity = Gravity.CenterHorizontal; addTip.TextID = R.MyInternationalizationString.AddSmartGW; addTip.TextColor = ZigbeeColor.Current.GXCTextBlackColor; -- Gitblit v1.8.0