Created
February 3, 2020 11:22
-
-
Save crypticminds/b1ca269d2783abb363199676417b0fdf 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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.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:id="@+id/linearLayout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<ImageView | |
android:id="@+id/image_2" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
android:layout_marginStart="100dp" | |
android:layout_marginLeft="100dp" | |
android:layout_marginTop="40dp" | |
android:layout_marginEnd="100dp" | |
android:layout_marginRight="100dp" | |
app:layout_constraintDimensionRatio="1" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/image_1" | |
tools:srcCompat="@tools:sample/avatars" /> | |
<ImageView | |
android:id="@+id/image_1" | |
android:layout_height="0dp" | |
android:layout_width="0dp" | |
android:layout_marginStart="100dp" | |
android:layout_marginLeft="100dp" | |
android:layout_marginTop="20dp" | |
android:layout_marginEnd="100dp" | |
android:layout_marginRight="100dp" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintDimensionRatio="1" | |
tools:srcCompat="@tools:sample/avatars" /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment