From acb2b278663952ce555b06a2e821f359225f15e0 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 10 七月 2020 09:41:15 +0800
Subject: [PATCH] 备份

---
 ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs
index 5ad03f1..7b002f1 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs
@@ -11,7 +11,7 @@
         /// <summary>
         /// 涓儴妗屽竷鎺т欢
         /// </summary>
-        private FrameLayout frameMiddleBack = null;
+        private NormalFrameLayout frameMiddleBack = null;
 
         #region 鈻� 鍒濆鍖朹____________________________
 
@@ -55,9 +55,9 @@
 
             //鐢ㄦ埛鍥炬爣
             var btnUserIcon = new ImageView();
-            btnUserIcon.Height = Application.GetMinRealAverage(251);
-            btnUserIcon.Width = Application.GetMinRealAverage(251);
-            btnUserIcon.Radius = (uint)Application.GetMinRealAverage(251) / 2;
+            btnUserIcon.Height = this.GetPictrueRealSize(251);
+            btnUserIcon.Width = this.GetPictrueRealSize(251);
+            btnUserIcon.Radius = (uint)this.GetPictrueRealSize(251) / 2;
             btnUserIcon.Y = Application.GetRealHeight(46);
             btnUserIcon.Gravity = Gravity.CenterHorizontal;
             btnUserIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(UserCenterResourse.UserInfo.UserIconFile);
@@ -80,7 +80,7 @@
         {
             if (this.frameMiddleBack == null)
             {
-                frameMiddleBack = new FrameLayout();
+                frameMiddleBack = new NormalFrameLayout();
                 frameMiddleBack.Y = Application.GetRealHeight(363);
                 frameMiddleBack.Height = Application.GetRealHeight(1008);
                 frameMiddleBack.BackgroundColor = UserCenterColor.Current.White;
@@ -105,7 +105,8 @@
             //鍚嶇ОView
             rowName.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uName), 350);
             //鍚嶇О杈撳叆
-            var txtName = new TextInputExControl(700, true);
+            var txtName = new TextInputControl(700, true);
+            txtName.UseFocusColor = true;
             txtName.X = bodyFrameLayout.Width - Application.GetRealWidth(700) - ControlCommonResourse.XXLeft;
             txtName.Gravity = Gravity.CenterVertical;
             txtName.TextAlignment = TextAlignment.CenterRight;
@@ -316,7 +317,7 @@
         /// 鏇存柊鐢ㄦ埛鍚�
         /// </summary>
         /// <param name="txtName"></param>
-        private async void SaveUserName(TextInputExControl txtName, bool showMsg)
+        private async void SaveUserName(TextInputControl txtName, bool showMsg)
         {
             if (UserCenterResourse.UserInfo.UserName == string.Empty)
             {

--
Gitblit v1.8.0