Last active
October 4, 2017 05:00
-
-
Save sambhav2612/69ad00a3d86482bc3579b7ac1dcacb82 to your computer and use it in GitHub Desktop.
ImageView Demo
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
// XML -- JPG file >> https://github.com/sambhav2612/Android-PortfolioApp/tree/patch-1 | |
<ImageView | |
android:id="@+id/headerImage" | |
android:src="@drawable/image" | |
android:scaleType="fitXY" | |
android:adjustViewBounds="true" | |
android:layout_width="250dp" | |
android:layout_height="250dp" | |
android:layout_marginTop="12dp" | |
android:layout_marginLeft="5dp" | |
android:layout_centerInParent="true" | |
android:layout_alignParentTop="true" | |
tools:ignore="ContentDescription,RtlHardcoded" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment