You haven't provided any code to help us diagnose your problem, but your terrifying image (that looks like Jim Carrey) may be related to the tileMode
. Your image looks like it's exhibiting clamping.
Clamping is when the edge color is replicated if the bitmap for an ImageView
is smaller in size than the ImageView
. These are all the options, along with a suitable picture of Jim:
Since it looks like your Bitmap
is smaller than your ImageView
and I don't think you actually want to use any tile mode (just use the default of disabled
), I'd recommend either:
A) Use ImageView's
setScaleType()
so that the Bitmap
resizes to fill the ImageView
, using the centerCrop
value (though check this blog for more examples), or...
B) Make your Bitmap
larger
(I'd recommend A)