Skip to content

Instantly share code, notes, and snippets.

@DanishAmjad12
Last active July 23, 2018 08:32
Show Gist options
  • Save DanishAmjad12/1b221a1573ea97d9e4837088cb8e8d0a to your computer and use it in GitHub Desktop.
Save DanishAmjad12/1b221a1573ea97d9e4837088cb8e8d0a to your computer and use it in GitHub Desktop.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="300dp"
android:layout_height="300dp"
android:layout_centerInParent="true"
android:src="@drawable/ic_launcher" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment