Created
December 10, 2018 11:15
-
-
Save hjm1fb/67263254dff5692e90691b8276bec60c to your computer and use it in GitHub Desktop.
This file contains 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
#ImageView 宽度固定, 自动resize高度 | |
<ImageView | |
android:layout_alignParentBottom="true" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:src="@drawable/banner" | |
android:scaleType="fitCenter" | |
android:adjustViewBounds="true" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment