title: Android - how to make a scrollable constraintlayout?
body: <p>I want to make a layout that lets me scroll down using constraint layout, but I don't know how to go about it. Should the <code>ScrollView</code> be the parent of the <code>ConstraintLayout</code> like this?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;ScrollView 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:fillViewport="true"&gt;
  
  &lt;android.support.constraint.ConstraintLayout
      android:id="@+id/Constraint"
      android:layout_width="match_parent"
      android:layout_height="match_parent"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>Or the other way around? Maybe someone can point me to a good tutorial on this or give an example, I can't seem to find one. </p>
  
  <p>Also, I don't know if this is a bug or some configuration that I don't have set up but I've seen images like this one :</p>
  
  <p><a href="https://i.stack.imgur.com/73yka.png" rel="noreferrer"><img src="https://i.stack.imgur.com/73yka.png" alt="enter image description here"></a></p>
  
  <p>where there are some components outside the blueprint "blue rectangle" yet they are visible, while on my side if I place a component on the "white space" I can't see it or move it anywhere, and it appears on the component tree. </p>
  
  <p>UPDATE :</p>
  
  <p>I found a way to make the constraint layout scrollable in the design tool, using a horizontal guideline to push down the constraint layout border and extend it beyond the device, after that, you can use the guideline as the new bottom of the constraint layout to anchor the components.  </p>