Skip to content

Instantly share code, notes, and snippets.

@bariskarapinar
Created October 7, 2019 18:22
Show Gist options
  • Save bariskarapinar/0303f798ddb9a0b4a63fc174029dc415 to your computer and use it in GitHub Desktop.
Save bariskarapinar/0303f798ddb9a0b4a63fc174029dc415 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:stretchColumns="1">
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/hello"
tools:layout_editor_absoluteX="37dp"
tools:layout_editor_absoluteY="296dp"
android:layout_centerInParent="true"/>
</RelativeLayout>
</android.support.constraint.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment