From a4924de3136289d10cabbf2f61a228387d44ded7 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 07 十一月 2019 13:48:36 +0800 Subject: [PATCH] Merge branch 'dev-tzy' into DEV_GXC --- ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs index b781ced..4f643e6 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs @@ -63,10 +63,13 @@ frameBack.AddChidren(frameDetail); //鐢ㄦ埛澶村儚 - var btnIcon = new IconViewControl(294); + var btnIcon = new ImageView(); + btnIcon.Height = Application.GetMinRealAverage(294); + btnIcon.Width = Application.GetMinRealAverage(294); + btnIcon.Radius = (uint)Application.GetMinRealAverage(294) / 2; btnIcon.Y = Application.GetRealHeight(121); btnIcon.Gravity = Gravity.CenterHorizontal; - btnIcon.UnSelectedImagePath = UserCenterResourse.UserInfo.UserIconFile; + btnIcon.ImagePath = UserCenterResourse.UserInfo.UserIconFile; frameBack.AddChidren(btnIcon); //鐢ㄦ埛鍚� var btnUser = new NormalViewControl(frameBack.Width, Application.GetRealHeight(46), false); -- Gitblit v1.8.0