From cc0d80c7d86c6d0167269b3408c4b30c24ce84e9 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 23 三月 2020 16:55:37 +0800 Subject: [PATCH] ??????? --- ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs index 67f8470..ef86018 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs @@ -25,7 +25,7 @@ /// </summary> private void InitMiddleFrame() { - uint roundHeigth = (uint)Application.GetMinRealAverage(6); + uint roundHeigth = (uint)Application.GetRealHeight(17); //鑳屾櫙妗� var frameBack = new FrameLayout(); @@ -69,10 +69,11 @@ btnIcon.Radius = (uint)Application.GetMinRealAverage(294) / 2; btnIcon.Y = Application.GetRealHeight(121); btnIcon.Gravity = Gravity.CenterHorizontal; - btnIcon.ImagePath = UserCenterResourse.UserInfo.UserIconFile; + btnIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(UserCenterResourse.UserInfo.UserIconFile); frameBack.AddChidren(btnIcon); //鐢ㄦ埛鍚� var btnUser = new NormalViewControl(frameBack.Width, Application.GetRealHeight(46), false); + btnUser.IsBold = true; btnUser.Y = Application.GetRealHeight(147); btnUser.Text = UserCenterResourse.UserInfo.UserName; btnUser.TextAlignment = TextAlignment.Center; -- Gitblit v1.8.0