From 4f92fe4e4397b05bc97d17e8ad02818a689acdb8 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 10 十月 2019 13:13:33 +0800
Subject: [PATCH] 个人中心添加楼层和创建房间,实装二级验证

---
 ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs |   26 +++++++++++++++++++-------
 1 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs b/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs
index 07a7ced..cb975be 100755
--- a/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Account/PhoneEmailForm.cs
@@ -34,17 +34,28 @@
             PhoneEmailFL = new FrameLayout()
             {
                 Y = Application.GetRealHeight(y),
-                Height = Application.GetRealHeight(height),
-                Width = Application.GetRealWidth(width),
-                BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor,
-                Radius = (uint)Application.GetRealHeight(height / 2),
+                Width = Application.GetMinRealAverage(905),
+                Height = Application.GetMinRealAverage(170),
+                //BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor,
+                //Radius = (uint)Application.GetRealHeight(height / 2),
                 Gravity = Gravity.CenterHorizontal
             };
             frameLayout.AddChidren(PhoneEmailFL);
 
+            var bg = new Button
+            {
+                Width = Application.GetMinRealAverage(905),
+                Height = Application.GetMinRealAverage(170),
+                UnSelectedImagePath = "Account/PhoneEmail_White.png",
+                Gravity = Gravity.CenterHorizontal
+            };
+            PhoneEmailFL.AddChidren(bg);
+
             SelectedPhone = new Button()
             {
-                Width = Application.GetRealWidth(width / 2 + 20),
+                X=Application.GetRealWidth(10),
+                Width = Application.GetMinRealAverage(905 / 2 + 20),
+                Height=Application.GetMinRealAverage(height),
                 SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor,
                 TextID = R.MyInternationalizationString.PhoneNum,
                 TextColor = ZigbeeColor.Current.GXCTextColor,
@@ -57,8 +68,9 @@
 
             SelectedEmail = new Button()
             {
-                X = Application.GetRealWidth(width / 2 - 20),
-                Width = Application.GetRealWidth(width / 2 + 20),
+                X = Application.GetMinRealAverage(905 / 2 - 20),
+                Width = Application.GetMinRealAverage(905 / 2 + 20),
+                Height = Application.GetMinRealAverage(height),
                 SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonSelectedColor,
                 TextID = R.MyInternationalizationString.Email,
                 TextColor = ZigbeeColor.Current.GXCTextColor,

--
Gitblit v1.8.0