Is it possible to set the height of CollapsingToolbarLayout or AppBarLayout when the image is already loaded? Similar to Whatsapp behaviour.
Whatpsapp behaviour (Conversation Info Activity):
The AppBarLayout height containing the CollapsingToolbarLayout is set on activity creation to a fixed value. But, when the group image is loaded, you can scroll to see the image on full height.
Edit: The target is fitting the CollapsingToolbarLayout with the image, getting the same proportion, and avoiding image crop.