-1

I am using Picasso to show images from url. My issue is , when I used debug APK, all images in list and grid view show perfect, whenever I upload APK to play store and install Live app, some of image stretch height wise. I did not give width and height in layout. I am not able to figure out the issue. Please help.

Debug AppDebug app screenshot

Live appLive app screenshot

Screenshot from both app is added.

Android
  • 99
  • 2
  • 11

2 Answers2

1

Try this Glide This is perfect for Url Image.

 Add this library to your gradle file
 implementation 'com.github.bumptech.glide:glide:4.11.0'

 Glide.with(OurAppsActivity.this)
 .load(image_url)
 .into(your_ImageView);
Sarthak Dhami
  • 330
  • 1
  • 5
  • 14
0

Perhaps what you need is making images have fixed aspect ratio on all phones.

  1. Customize ImageView: https://github.com/santalu/aspect-ratio-imageview/
  2. Use ConstraintLayout: ConstraintLayout aspect ratio
simon5678
  • 249
  • 1
  • 5