From e79b65b97a8ae1eae5ee172dea1b52d041006599 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 02 九月 2020 17:24:32 +0800
Subject: [PATCH] 2020-09-02-3
---
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