title: Bring to Button front while having two ConstraintLayout
body: <p>I'm trying to implement the following design on Android.</p>
  <p><a href="https://i.stack.imgur.com/I9PJw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I9PJw.png" alt="Android Screen" /></a></p>
  <p>I know that to have the button at that position I should have two constraint layout; one for whole change password form and one for change password form without the Save button and then set the Save button's <code>Top</code> and <code>Bottom</code> constraint to the second ConstraintLayout.<br />
  But when I do this, the button goes behind the form, and therein lies the problem:</p>
  <p><a href="https://i.stack.imgur.com/IeEbB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IeEbB.png" alt="enter image description here" /></a></p>
  <p>Here is my XML:</p>
  <pre><code>    &lt;android.support.design.widget.CoordinatorLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
          xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
          xmlns:tools=&quot;http://schemas.android.com/tools&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;
          tools:context=&quot;.ChangePasswordActivity&quot;&gt;
      
          &lt;include
              android:id=&quot;@+id/changePasswordBar&quot;
              layout=&quot;@layout/top_bar_full&quot;&gt;&lt;/include&gt;
      
          &lt;android.support.constraint.ConstraintLayout
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              app:layout_behavior=&quot;@string/appbar_scrolling_view_behavior&quot;&gt;
              &lt;android.support.constraint.ConstraintLayout
                  android:id=&quot;@+id/changePasswordCTL&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
  android:layout_marginBottom=&quot;@dimen/activities_constraint_top_bottom&quot;
                  android:layout_marginEnd=&quot;@dimen/activities_constraint_start_end&quot;
                  android:layout_marginStart=&quot;@dimen/activities_constraint_start_end&quot;
                  android:layout_marginTop=&quot;@dimen/activities_constraint_top_bottom&quot;
                  android:background=&quot;@drawable/radius_background_exchange&quot;
                  android:elevation=&quot;5dp&quot;
                  app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
                  app:layout_constraintEnd_toEndOf=&quot;parent&quot;
                  app:layout_constraintStart_toStartOf=&quot;parent&quot;
                  app:layout_constraintTop_toTopOf=&quot;parent&quot;&gt;
      
                  // some EditText and TextView views here
      
      
              &lt;/android.support.constraint.ConstraintLayout&gt;
  
      &lt;br.com.simplepass.loading_button_lib.customViews.CircularProgressButton
                  android:id=&quot;@+id/changePasswordBT&quot;
                  style=&quot;@style/customButton&quot;
                  android:layout_width=&quot;0dp&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:layout_marginBottom=&quot;8dp&quot;
                  android:layout_marginEnd=&quot;32dp&quot;
                  android:layout_marginStart=&quot;32dp&quot;
                  android:layout_marginTop=&quot;8dp&quot;
                  android:fontFamily=&quot;@font/sans_web_medium&quot;
                  android:text=&quot;@string/finish&quot;
                  android:textAllCaps=&quot;false&quot;
                  android:textColor=&quot;@android:color/white&quot;
                  android:textSize=&quot;@dimen/signinup_button_font_size&quot;
                  app:initialCornerAngle=&quot;5dp&quot;
                  app:layout_constraintBottom_toBottomOf=&quot;@+id/changePasswordCTL&quot;
                  app:layout_constraintEnd_toEndOf=&quot;@+id/changePasswordCTL&quot;
                  app:layout_constraintStart_toStartOf=&quot;@+id/changePasswordCTL&quot;
                  app:layout_constraintTop_toBottomOf=&quot;@+id/changePasswordCTL&quot;
                  app:spinning_bar_color=&quot;@android:color/white&quot;
                  app:spinning_bar_padding=&quot;6dp&quot;
                  app:spinning_bar_width=&quot;4dp&quot; /&gt;
      
          &lt;/android.support.constraint.ConstraintLayout&gt;
      
      &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>