From 2109463fab2eb1caed189e4f258e0e763c5cea7b Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 07 十一月 2019 11:58:53 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into dev-wjc --- 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