Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ConstraintLayout

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

 ConstraintLayout

Avatar for funnelbit

funnelbit

May 25, 2016
Tweet

More Decks by funnelbit

Other Decks in Technology

Transcript

  1. <?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"
 android:id="@+id/constraintLayout"


    tools:layout_editor_absoluteX="0dp"
 tools:layout_editor_absoluteY="81dp">
 
 <TextView
 android:text="TextViewaee"
 android:layout_width="0dp"
 android:layout_height="43dp"
 tools:layout_editor_absoluteX="16dp"
 tools:layout_editor_absoluteY="84dp"
 android:id="@+id/textView4"
 app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
 android:layout_marginStart="16dp"
 tools:layout_constraintLeft_creator="1"
 app:layout_constraintTop_toTopOf="@+id/constraintLayout"
 android:layout_marginTop="84dp"
 tools:layout_constraintTop_creator="1"
 app:layout_constraintRight_toLeftOf="@+id/textView"
 android:layout_marginEnd="8dp"
 tools:layout_constraintRight_creator="1" />
 
 <TextView
 android:text="TextView"
 android:layout_width="58dp"
 android:layout_height="43dp"
 tools:layout_editor_absoluteX="127dp"
 tools:layout_editor_absoluteY="84dp"
 android:id="@+id/textView"
 app:layout_constraintLeft_toLeftOf="@+id/constraintLayout"
 android:layout_marginStart="127dp"
 tools:layout_constraintLeft_creator="1"
 app:layout_constraintBaseline_toBaselineOf="@+id/textView4"
 tools:layout_constraintBaseline_creator="0" />
 
 <TextView
 android:text="TextView"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 tools:layout_editor_absoluteX="281dp"
 tools:layout_editor_absoluteY="84dp"
 android:id="@+id/textView2"
 app:layout_constraintLeft_toRightOf="@+id/textView"
 android:layout_marginStart="96dp"
 tools:layout_constraintLeft_creator="1"
 app:layout_constraintBaseline_toBaselineOf="@+id/textView"
 tools:layout_constraintBaseline_creator="0" />
 
 </android.support.constraint.ConstraintLayout> (FOFSBUFE$PEF