Exemplo n.º 1
0
		public override void SetImageBitmap(Android.Graphics.Bitmap bm)
		{

			var drawable = new CircleDrawable(bm);
			base.SetImageDrawable(drawable);

		}
Exemplo n.º 2
0
		public override void SetImageResource(int resId)
		{
			var inputBitmap = Resources.GetDrawable(resId).DrawableToBitmap();

			var drawable = new CircleDrawable(inputBitmap);
			base.SetImageDrawable(drawable);
		}
Exemplo n.º 3
0
		public override void SetImageDrawable(Drawable drawable)
		{
			var inputBitmap = drawable.DrawableToBitmap();
			var drawable2 = new CircleDrawable(inputBitmap);
			base.SetImageDrawable(drawable2);
		}