-
-
Save ixiyang/f086563778e92ed78ae2 to your computer and use it in GitHub Desktop.
scale image to match view bounds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:adjustViewBounds="true" | |
android:scaleType="fitCenter" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment