I am using an image of size 1080*1920 in my app using picasso library but my image is not covering entire view horizontally. Here is the code for picasso
private void initBackgroundImage() {
ImageView background = (ImageView) findViewById(R.id.iv_background);
Picasso.with(this).load(R.drawable.background).resize(70,120).centerCrop().into(background);
}
I have tried different width and height in resize method but not able to cover all the view.