title: On top how to display Another layout in android
body: <p>Hi in the below code On top of that want to add one more layout .but I don't no how to add and where to add can any one help me with the issue.
  What I am expecting is background name with boreder_square that background want to display between above and below of the layouts</p>
  <p><a href="https://i.stack.imgur.com/i4ToF.png" rel="nofollow noreferrer">between two layout I want to add one more layout middle can any one help </a></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
      &lt;RelativeLayout 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;
          android:background=&quot;@color/back_blue&quot;
          android:id=&quot;@+id/contact_card&quot;
          app:layout_behavior=&quot;@string/appbar_scrolling_view_behavior&quot;&gt;
      
          &lt;FrameLayout
              android:id=&quot;@+id/frame_container&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;match_parent&quot;
              app:layout_anchorGravity=&quot;center&quot;
              android:background=&quot;@color/linecolor&quot;
              app:layout_behavior=&quot;@string/appbar_scrolling_view_behavior&quot; &gt;
      
              &lt;ScrollView
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;match_parent&quot;&gt;
                  &lt;LinearLayout
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;match_parent&quot;
                      android:orientation=&quot;vertical&quot;
                      android:id=&quot;@+id/accountfrg&quot;&gt;
                      &lt;LinearLayout
                          android:layout_width=&quot;match_parent&quot;
                          android:layout_height=&quot;match_parent&quot;
                          android:orientation=&quot;vertical&quot;
                          android:paddingBottom=&quot;100dp&quot;&gt;
                          &lt;LinearLayout
                              android:id=&quot;@+id/relativeLayout1&quot;
                              android:layout_width=&quot;match_parent&quot;
                              android:layout_height=&quot;wrap_content&quot;
                              android:layout_gravity=&quot;center&quot;
                              android:padding=&quot;2dp&quot;
                              android:gravity=&quot;center&quot;
                              android:orientation=&quot;vertical&quot;&gt;
      
                              &lt;ImageView
                                  android:layout_width=&quot;120dp&quot;
                                  android:layout_height=&quot;120dp&quot;
                                  android:tint=&quot;@color/white&quot;
                                  android:src=&quot;@drawable/ic_baseline_check_24&quot;
                                  &gt;&lt;/ImageView&gt;
                              &lt;TextView
                                  android:id=&quot;@+id/subject&quot;
                                  style=&quot;@style/Base.TextAppearance.AppCompat.Subhead&quot;
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:layout_below=&quot;@+id/names&quot;
                                  android:layout_weight=&quot;1&quot;
                                  android:text=&quot;Booking Confirmed&quot;
                                  android:textAllCaps=&quot;true&quot;
                                  android:textColor=&quot;@color/white&quot;
                                  android:textSize=&quot;18sp&quot;
                                  android:textStyle=&quot;bold&quot; /&gt;
      
                              &lt;TextView
                                  android:id=&quot;@+id/speclist&quot;
                                  style=&quot;@style/Base.TextAppearance.AppCompat.Subhead&quot;
                                  android:layout_width=&quot;wrap_content&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:layout_below=&quot;@+id/names&quot;
                                  android:layout_weight=&quot;1&quot;
                                  android:layout_gravity=&quot;center&quot;
                                  android:gravity=&quot;center&quot;
                                  android:text=&quot;Confirmation mail and SMS has been sent to your registered details&quot;
                                  android:textAllCaps=&quot;false&quot;
                                  android:textColor=&quot;@color/white&quot;
                                  android:textSize=&quot;16sp&quot; /&gt;
      
                          &lt;/LinearLayout&gt;
                      &lt;/LinearLayout&gt;
                      &lt;LinearLayout
                          android:layout_width=&quot;match_parent&quot;
                          android:layout_height=&quot;430dp&quot;
                          android:background=&quot;@drawable/border_square&quot;
                          android:orientation=&quot;vertical&quot;
                          android:layout_gravity=&quot;bottom&quot;
                          android:gravity=&quot;bottom&quot;&gt;
      
                          &lt;LinearLayout
                              android:layout_width=&quot;match_parent&quot;
                              android:layout_height=&quot;0dip&quot;
                              android:layout_weight=&quot;1&quot;
                              android:gravity=&quot;center|bottom&quot;
                              android:orientation=&quot;vertical&quot;&gt;
                              &lt;Button
                                  android:id=&quot;@+id/book_appointment&quot;
                                  android:layout_width=&quot;match_parent&quot;
                                  android:layout_height=&quot;wrap_content&quot;
                                  android:layout_gravity=&quot;bottom|end&quot;
                                  android:background=&quot;@drawable/button_background&quot;
                                  android:gravity=&quot;center&quot;
                                  android:text=&quot;Done&quot;
                                  android:textColor=&quot;@color/white&quot; /&gt;
      
                          &lt;/LinearLayout&gt;
                      &lt;/LinearLayout&gt;
                      &lt;/LinearLayout&gt;
     
              &lt;/ScrollView&gt;
          &lt;/FrameLayout&gt;
      
      &lt;/RelativeLayout&gt;
  </code></pre>