title: ConstraintLayout Stuck at Parent top despite being constrained to View
body: <p>Searched around, can't find this issue specifically. Created an account specifically to ask WHAT'S HAPPENING HERE?!</p>
  
  <p>Using a ConstraintLayout for the first time - I've had good success, but for some reason CANNOT get two of my Components to play nicely.</p>
  
  <p>Here's what I WANT it to look like (accomplished by breaking constraints and hardcoding stuff):</p>
  
  <p><a href="https://i.stack.imgur.com/nvddy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nvddy.png" alt="enter image description here"></a></p>
  
  <p>...and here's the jumbled mess I get if I try to constrain "LabelJournal" and "linearLayout2":</p>
  
  <p><a href="https://i.stack.imgur.com/p5Z1k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p5Z1k.png" alt="enter image description here"></a></p>
  
  <p>The problems are happening for components named "LabelJournal" and "linearLayout2". Here's what my LayoutFile looks like... It's a WIP so I know right now there's a lot of hardcoding of text values and whatnot - I'm just trying to figure out WHAT in the world is causing these two components to get stuck at the top of the parent:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;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"&gt;
  
      &lt;ImageButton
          android:id="@+id/imageButton"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:background="@android:color/transparent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="parent"
          app:srcCompat="@drawable/ic_left" /&gt;
  
      &lt;EditText
          android:id="@+id/editText"
          android:layout_width="wrap_content"
          android:layout_height="50dp"
          android:layout_marginEnd="14dp"
          android:layout_marginStart="14dp"
          android:inputType="date"
          android:text="03/04/2018"
          android:textAlignment="center"
          android:textSize="24sp"
          app:layout_constraintEnd_toStartOf="@+id/imageButton2"
          app:layout_constraintStart_toEndOf="@+id/imageButton"
          app:layout_constraintTop_toTopOf="parent" /&gt;
  
      &lt;ImageButton
          android:id="@+id/imageButton2"
          android:layout_width="50dp"
          android:layout_height="50dp"
          android:background="@android:color/transparent"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintTop_toTopOf="parent"
          app:srcCompat="@drawable/ic_right" /&gt;
  
      &lt;TextView
          android:id="@+id/LabelJournal"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginBottom="8dp"
          android:layout_marginStart="16dp"
          android:layout_marginTop="8dp"
          android:text="Journal:"
          android:textStyle="italic"
          app:layout_constraintBottom_toTopOf="@id/ContentJournal"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/imageButton" /&gt;
  
      &lt;TextView
          android:id="@+id/ContentJournal"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginBottom="8dp"
          android:layout_marginEnd="16dp"
          android:layout_marginStart="16dp"
          android:layout_marginTop="8dp"
          android:text="The journal text would go in right about here. It should wrap to the next line for sufficientyl large text blocks."
          android:textColorLink="@android:color/black"
          android:textSize="18sp"
          app:layout_constraintBottom_toTopOf="@+id/LabelTags"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.0"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/LabelJournal" /&gt;
  
      &lt;TextView
          android:id="@+id/LabelTags"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginBottom="8dp"
          android:layout_marginStart="16dp"
          android:text="Tags:"
          android:textStyle="italic"
          app:layout_constraintBottom_toTopOf="@+id/horizontalScrollView"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toTopOf="@id/ContentJournal" /&gt;
  
      &lt;HorizontalScrollView
          android:id="@+id/horizontalScrollView"
          android:layout_width="0dp"
          android:layout_height="41dp"
          android:layout_marginStart="16dp"
          android:layout_marginTop="8dp"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/LabelTags"&gt;
  
          &lt;LinearLayout
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:orientation="horizontal"&gt;
  
              &lt;TextView
                  android:id="@+id/TagDayOff"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_vertical|center_horizontal"
                  android:padding="10dp"
                  android:paddingBottom="15dp"
                  android:paddingTop="15dp"
                  android:text="#DayOff"
                  android:textAlignment="center"
                  android:textColor="@android:color/darker_gray"
                  android:textSize="18sp" /&gt;
  
              &lt;TextView
                  android:id="@+id/TagUntracked"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_vertical|center_horizontal"
                  android:padding="10dp"
                  android:paddingBottom="15dp"
                  android:paddingTop="15dp"
                  android:text="#Untracked"
                  android:textAlignment="center"
                  android:textColor="@android:color/darker_gray"
                  android:textSize="18sp" /&gt;
  
              &lt;TextView
                  android:id="@+id/TagTravel"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_vertical|center_horizontal"
                  android:padding="10dp"
                  android:paddingBottom="15dp"
                  android:paddingTop="15dp"
                  android:text="#Travel"
                  android:textAlignment="center"
                  android:textColor="@android:color/darker_gray"
                  android:textSize="18sp" /&gt;
  
              &lt;TextView
                  android:id="@+id/TagGames"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:gravity="center_vertical|center_horizontal"
                  android:padding="10dp"
                  android:paddingBottom="15dp"
                  android:paddingTop="15dp"
                  android:text="#Games"
                  android:textAlignment="center"
                  android:textColor="@android:color/darker_gray"
                  android:textSize="18sp" /&gt;
  
              &lt;TextView
                  android:id="@+id/TagMovie"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:gravity="center_vertical|center_horizontal"
                  android:padding="10dp"
                  android:paddingBottom="15dp"
                  android:paddingTop="15dp"
                  android:text="#Games"
                  android:textAlignment="center"
                  android:textColor="@android:color/darker_gray"
                  android:textSize="18sp" /&gt;
  
          &lt;/LinearLayout&gt;
      &lt;/HorizontalScrollView&gt;
  
      &lt;TextView
          android:id="@+id/LabelDIet"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="16dp"
          android:layout_marginTop="8dp"
          android:text="Diet:"
          android:textStyle="italic"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/horizontalScrollView" /&gt;
  
      &lt;TextView
          android:id="@+id/ContentCalories"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="32dp"
          android:layout_marginTop="8dp"
          android:textSize="18sp"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/LabelDIet"
          tools:text="2813" /&gt;
  
      &lt;TextView
          android:id="@+id/DietCalLabel"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="8dp"
          android:text="Cal"
          android:textSize="10sp"
          android:textStyle="italic"
          app:layout_constraintBottom_toBottomOf="@+id/ContentCalories"
          app:layout_constraintStart_toEndOf="@+id/ContentCalories" /&gt;
  
      &lt;ProgressBar
          android:id="@+id/ProgressCalories"
          style="?android:attr/progressBarStyleHorizontal"
          android:layout_width="0dp"
          android:layout_height="0dp"
          android:layout_marginBottom="2dp"
          android:layout_marginEnd="-8dp"
          android:layout_marginStart="8dp"
          android:layout_marginTop="2dp"
          android:progressDrawable="@android:color/holo_blue_dark"
          android:progressTint="@android:color/holo_green_light"
          android:visibility="visible"
          app:layout_constraintBottom_toBottomOf="@+id/ContentCalories"
          app:layout_constraintEnd_toEndOf="@+id/ContentProteinPercent"
          app:layout_constraintStart_toEndOf="@+id/DietCalLabel"
          app:layout_constraintTop_toTopOf="@+id/ContentCalories" /&gt;
  
      &lt;TextView
          android:id="@+id/ContentProtein"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginEnd="8dp"
          android:layout_marginTop="8dp"
          android:textSize="18sp"
          app:layout_constraintEnd_toStartOf="@+id/DietCalLabel"
          app:layout_constraintTop_toBottomOf="@+id/ContentCalories"
          tools:text="154" /&gt;
  
      &lt;TextView
          android:id="@+id/DietProteinLabel"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="8dp"
          android:text="P"
          android:textSize="10sp"
          android:textStyle="italic"
          app:layout_constraintBottom_toBottomOf="@+id/ContentProtein"
          app:layout_constraintStart_toEndOf="@+id/ContentProtein" /&gt;
  
      &lt;ProgressBar
          android:id="@+id/ProgressProtein"
          style="?android:attr/progressBarStyleHorizontal"
          android:layout_width="150dp"
          android:layout_height="0dp"
          android:layout_marginBottom="4dp"
          android:layout_marginStart="8dp"
          android:layout_marginTop="4dp"
          android:progressDrawable="@android:color/holo_blue_dark"
          android:progressTint="@android:color/holo_red_light"
          android:visibility="visible"
          app:layout_constraintBottom_toBottomOf="@+id/ContentProtein"
          app:layout_constraintStart_toEndOf="@+id/DietCalLabel"
          app:layout_constraintTop_toTopOf="@+id/ContentProtein" /&gt;
  
      &lt;TextView
          android:id="@+id/ContentProteinPercent"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginEnd="8dp"
          android:paddingEnd="8dp"
          android:paddingStart="8dp"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.074"
          app:layout_constraintStart_toEndOf="@+id/ProgressProtein"
          app:layout_constraintTop_toTopOf="@+id/ContentProtein"
          tools:text="22 %" /&gt;
  
      &lt;TextView
          android:id="@+id/ContentFat"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginEnd="8dp"
          android:layout_marginTop="8dp"
          android:textSize="18sp"
          app:layout_constraintEnd_toStartOf="@+id/DietCalLabel"
          app:layout_constraintTop_toBottomOf="@+id/ContentProtein"
          tools:text="103" /&gt;
  
      &lt;TextView
          android:id="@+id/dietProteinLabel"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="8dp"
          android:text="F"
          android:textSize="10sp"
          android:textStyle="italic"
          app:layout_constraintBottom_toBottomOf="@+id/ContentFat"
          app:layout_constraintStart_toEndOf="@+id/ContentFat" /&gt;
  
      &lt;ProgressBar
          android:id="@+id/ProgressFats"
          style="?android:attr/progressBarStyleHorizontal"
          android:layout_width="150dp"
          android:layout_height="0dp"
          android:layout_marginBottom="4dp"
          android:layout_marginStart="8dp"
          android:layout_marginTop="4dp"
          android:progressDrawable="@android:color/holo_blue_dark"
          android:progressTint="@android:color/holo_orange_light"
          android:visibility="visible"
          app:layout_constraintBottom_toBottomOf="@+id/ContentFat"
          app:layout_constraintStart_toEndOf="@+id/DietCalLabel"
          app:layout_constraintTop_toTopOf="@+id/ContentFat" /&gt;
  
      &lt;TextView
          android:id="@+id/contentProteinPercent"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginEnd="8dp"
          android:paddingEnd="8dp"
          android:paddingStart="8dp"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.074"
          app:layout_constraintStart_toEndOf="@+id/ProgressProtein"
          app:layout_constraintTop_toTopOf="@+id/ContentFat"
          tools:text="33 %" /&gt;
  
      &lt;TextView
          android:id="@+id/ContentCarbs"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginEnd="8dp"
          android:layout_marginTop="8dp"
          android:textSize="18sp"
          app:layout_constraintEnd_toStartOf="@+id/DietCalLabel"
          app:layout_constraintTop_toBottomOf="@+id/ContentFat"
          tools:text="302" /&gt;
  
      &lt;TextView
          android:id="@+id/DietCarbLabel"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="8dp"
          android:text="C"
          android:textSize="10sp"
          android:textStyle="italic"
          app:layout_constraintBottom_toBottomOf="@+id/ContentCarbs"
          app:layout_constraintStart_toEndOf="@+id/ContentCarbs" /&gt;
  
      &lt;ProgressBar
          android:id="@+id/ProgressCarbs"
          style="?android:attr/progressBarStyleHorizontal"
          android:layout_width="150dp"
          android:layout_height="0dp"
          android:layout_marginBottom="8dp"
          android:layout_marginStart="8dp"
          android:progressDrawable="@android:color/holo_blue_dark"
          android:progressTint="@android:color/holo_blue_light"
          android:visibility="visible"
          app:layout_constraintBottom_toBottomOf="@+id/ContentCarbs"
          app:layout_constraintStart_toEndOf="@+id/DietCalLabel"
          app:layout_constraintTop_toTopOf="@+id/ContentCarbs" /&gt;
  
      &lt;TextView
          android:id="@+id/ContentCarbPercent"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginEnd="8dp"
          android:paddingEnd="8dp"
          android:paddingStart="8dp"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.074"
          app:layout_constraintStart_toEndOf="@+id/ProgressProtein"
          app:layout_constraintTop_toTopOf="@+id/ContentCarbs"
          tools:text="43 %" /&gt;
  
      &lt;TextView
          android:id="@+id/LabelExercise"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginBottom="8dp"
          android:layout_marginStart="16dp"
          android:layout_marginTop="8dp"
          android:text="Exercise:"
          android:textStyle="italic"
          app:layout_constraintBottom_toTopOf="@+id/linearLayout2"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/ContentCarbs" /&gt;
  
      &lt;LinearLayout
          android:id="@+id/linearLayout2"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:orientation="vertical"
          tools:layout_editor_absoluteX="0dp"
          tools:layout_editor_absoluteY="436dp"
          app:layout_constraintStart_toStartOf="parent"
          app:layout_constraintTop_toBottomOf="@+id/LabelExercise" &gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="horizontal"&gt;
  
              &lt;ImageButton
                  android:id="@+id/ImageExerciseAttribution"
                  android:layout_width="30dp"
                  android:layout_height="30dp"
                  android:layout_marginStart="16dp"
                  android:layout_marginTop="8dp"
                  android:layout_weight="1"
                  android:background="@android:color/transparent"
                  android:scaleType="fitXY"
                  app:layout_constraintStart_toStartOf="parent"
                  app:layout_constraintTop_toBottomOf="@+id/LabelExercise"
                  app:srcCompat="@drawable/fit" /&gt;
  
              &lt;TextView
                  android:id="@+id/ContentExercise"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginStart="8dp"
                  android:layout_weight="1"
                  android:text="45 min - PHUL Upper Power"
                  android:textSize="18sp"
                  app:layout_constraintBottom_toBottomOf="@+id/ImageExerciseAttribution"
                  app:layout_constraintStart_toEndOf="@+id/ImageExerciseAttribution"
                  app:layout_constraintTop_toTopOf="@+id/ImageExerciseAttribution" /&gt;
          &lt;/LinearLayout&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>
  
  <p>Perhaps I should also mention - I have no errors showing up in my Constraint Layout (although a ton of warnings about hardcoded text and whatnot that I'll deal with later).</p>