Skip to content

Instantly share code, notes, and snippets.

@mandrachek
Last active January 18, 2017 15:02
Show Gist options
  • Save mandrachek/8b6f21d730c08c24d21b8428c26da103 to your computer and use it in GitHub Desktop.
Save mandrachek/8b6f21d730c08c24d21b8428c26da103 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">
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button 1"
tools:layout_constraintTop_creator="1" tools:layout_constraintLeft_creator="1"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent"/>
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button 2"
tools:layout_constraintTop_creator="1" app:layout_constraintTop_toBottomOf="@+id/button1"
tools:layout_constraintLeft_creator="1" app:layout_constraintLeft_toLeftOf="@+id/button1"/>
</android.support.constraint.ConstraintLayout>
@mandrachek
Copy link
Author

screen shot 2017-01-18 at 10 01 42 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment