i am working on a project with a staggered gridview that can support varying height for each nested view,
You can use the ScaleType property..like this:
android:scaleType="centerCrop"
There are several other types..just pick the one that fits best with your requirement.