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/MiniGatewayDirection1Form.cs | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs index 76609fd..ac15fb6 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/MiniGatewayDirection1Form.cs @@ -34,13 +34,22 @@ //鍥剧墖 var framePic = new FrameLayout(); framePic.Width = this.GetPictrueRealSize(395); - framePic.Height = this.GetPictrueRealSize(223); + framePic.Height = this.GetPictrueRealSize(327); framePic.Gravity = Gravity.CenterHorizontal; - framePic.Y = Application.GetRealHeight(464); + framePic.Y = Application.GetRealHeight(363); framePic.BackgroundImagePath = "Gateway/MiniGatewayDirection.png"; bodyFrameLayout.AddChidren(framePic); - //鎻掔數鍚�,闀挎寜缃戝叧HID/WCFG鎸夐敭5绉抺0}绯荤粺鐏父浜�60绉掑悗鍒欒繘鍏ラ厤缃戠姸鎬� + //寮�鍏抽敭 + var btnSwitch = new NormalViewControl(this.GetPictrueRealSize(400), this.GetPictrueRealSize(45), false); + btnSwitch.X = framePic.X + this.GetPictrueRealSize(60); + btnSwitch.TextColor = UserCenterColor.Current.TextGrayColor3; + btnSwitch.TextSize = 10; + btnSwitch.TextID = R.MyInternationalizationString.uSwitchButton; + bodyFrameLayout.AddChidren(btnSwitch); + btnSwitch.Y = framePic.Y - btnSwitch.Height; + + //鎻掔數鍚�,闀挎寜缃戝叧寮�鍏抽敭5绉抺0}绯荤粺鐏父浜�60绉掑悗鍒欒繘鍏ラ厤缃戠姸鎬� string[] ArryMsg = Language.StringByID(R.MyInternationalizationString.uAddMiniGatewayMsg1).Split(new string[] { "{0}" }, StringSplitOptions.RemoveEmptyEntries); int yy = framePic.Bottom + Application.GetRealHeight(291); foreach (var msg in ArryMsg) -- Gitblit v1.8.0