imageview height based on screen size

Solutions on MaxInterview for imageview height based on screen size by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "imageview height based on screen size"
Youna
06 Mar 2020
1"android:layout_gravity="center"
2android:adjustViewBounds="true"
3android:scaleType="fitCenter"
4  
5  
6 add this property to your imageview