From 06978e3b15b8536e2d4511ae4612fec1d556e145 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 07 十一月 2019 11:19:56 +0800 Subject: [PATCH] 合并了全部的代码,IOS 图片需要从新引入工程 --- 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