I am trying to show images in a full screen view and using the following code:
// Target to write the image to local storage. Target target = new Target() {
You can combine fit() with centerCrop() or centerInside(), depending on how you want the image to fit your View:
fit()
centerCrop()
centerInside()
View
Picasso.with(context) .load(url) .fit() .centerCrop() .into(imgDisplay); Picasso.with(context) .load(url) .fit() .centerInside() .into(imgDisplay);