我已经从网址下载了位图,现在我希望将其设置为相对布局的背景。 这是我的代码如何在相对布局背景中设置位图图像
Bitmap bitmap = null;
WebClient client = new WebClient();
client.DownloadDataAsync (new Uri (mItems [position].Profile_Pic));
client.DownloadDataCompleted += (se, res) => {
bitmap = BitmapFactory.DecodeByteArray (res.Result, 0, res.Result.Length);
var relativelayout=row.FindViewById<RelativeLayout>(Resource.Id.relativeLayout1);
我如何去这样做的帮助表示感谢