From 2ec9898778d3beda89278e2a53ac0e68b3035d29 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 01 七月 2020 15:06:24 +0800 Subject: [PATCH] 2020-7-1-2 --- ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs index 5ad03f1..881b00b 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs @@ -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); @@ -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