0

In the android app that I am building, the users can upload their profile pictures. These picture would then go into a "grid view". In my case the column width of grid view is lesser than the image size.

So in order to make it fit, would I have to reduce the image size at the backend server before uploading it into the app.

Robert Moskal
  • 21,737
  • 8
  • 62
  • 86
mayank mahajan
  • 901
  • 1
  • 6
  • 3

1 Answers1

1

You can use ThumbnailUtils to create thumbnail of the image in the Android code itself. See this answer on Android how to create runtime thumbnail for more.

Community
  • 1
  • 1
Shobhit Puri
  • 25,769
  • 11
  • 95
  • 124