79795955

Date: 2025-10-21 14:55:57
Score: 1.5
Natty:
Report link

In case anyone is looking for an answer to this in 2025, go to the XML side of the designer. Find the image you are trying to increase the size of. Set the constraints according to the size you want and then include:

android:scaleType="fitCenter"

There are other values available, but this will increase the size of the image to the maximum possible without cropping while keeping it centered in the view.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Al Ga