I need to set the height of the imageview as matchparent programmatically. If it's a fixed height, I know how to set it.
but how can I set it as matchparent?
EDIT:
Actually the height of the parent layout is dynamic.so I need to make the height of the image as the height of the parent.
android height imageview
andro-girl Apr 25 2018-12-12T00: 00Z
source share