Last active
June 18, 2017 02:21
-
-
Save AasemJS/d8792f931855591a6a29189dfd87cbf7 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"?> | |
<RelativeLayout 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/activity_main" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
tools:context="org.technobyte.layouts.MainActivity"> | |
<android.support.constraint.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_alignParentStart="true"> | |
<TextView | |
android:text="This is A" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/textView2" | |
app:layout_constraintLeft_toLeftOf="parent" | |
android:layout_marginStart="60dp" | |
android:layout_marginTop="60dp" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<TextView | |
android:text="This is B" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/textView3" | |
android:layout_marginStart="60dp" | |
app:layout_constraintLeft_toLeftOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/textView2" | |
android:layout_marginTop="60dp" /> | |
<TextView | |
android:text="This is C" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/textView4" | |
android:layout_marginStart="60dp" | |
app:layout_constraintLeft_toRightOf="@+id/textView2" | |
android:layout_marginTop="60dp" | |
app:layout_constraintTop_toTopOf="parent" /> | |
</android.support.constraint.ConstraintLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment