title: Is it good idea to use Constrain layout inside Scrollview in Android?
body: <p>I am working as OEM developer where we are using common GUI library for all Applications. In our application we are extending that GUI library which carry ScrollView as base layout for my application. Now my team is planning to use constrain layout in Application. Can we use constrain layout inside Scroll View?  </p>
  
  <p>I converted linear layout into constrain layout using Android Design tool. But
  scrolling is not working. </p>
  
  <pre><code>&lt;ScrollView
      style="@style/Body_ScrollView"
      android:id="@+id/no_sim_layout"&gt;
  
      &lt;LinearLayout style="@style/Body.LinearLayout.No_Sim"&gt;
          &lt;-- All other child views are going here--&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>Want to convert into </p>
  
  <pre><code>&lt;ScrollView
      style="@style/Body_ScrollView"
      android:id="@+id/no_sim_layout"&gt;
  
      &lt;ConstrainLayout style="@style/Body.LinearLayout.No_Sim"&gt;
             &lt;-- All other child views are going here--&gt;
      &lt;/ConstrainLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>