I need to make an Android Application that displays a square image. But receives images of a width greater than high. But you need to show square.
This is what I have.

This is what I need

You can use these two parameters in ImageView in xml:
android:adjustViewBounds="true"
android:scaleType="centerCrop"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With