title: TextView Bar over Google Map
body: <p>I am trying to implement a screen with a map and on top on the map it should have a textbar displaying text but for some reason my textbar always goes below the google map view.
  I tried to look up for relateable questions but no success with their answers. The picture is attached below to give some more gudience. Code is below. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:paddingStart="20dp"
  android:paddingEnd="20dp"&gt;
  &lt;com.google.android.gms.maps.MapView
      android:id="@+id/map"
      android:elevation="10dp"
      android:layout_below="@+id/tv_treatment_id"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_above="@+id/tv_rateDoctor"
      &gt;
  
  &lt;/com.google.android.gms.maps.MapView&gt;
  &lt;include
      android:id="@+id/toolbar"
      layout="@layout/menu_top_header"
      android:layout_width="match_parent"
      android:layout_height="@dimen/custom_toolbar_height"
      /&gt;
  
  &lt;TextView
      android:id="@+id/tv_treatment_id"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_below="@+id/toolbar"
      android:layout_marginBottom="20dp"
      android:layout_centerHorizontal="true"
      android:text="Treatment ID: 222-X-F"
      android:textSize="@dimen/font_label" /&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:id="@+id/tv_information"
      android:gravity="center"
      android:layout_centerHorizontal="true"
      android:layout_alignTop="@+id/map"
      android:orientation="horizontal"
      android:background="@color/colorTextGrey"
      &gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/tv_sent_info"
          android:padding="20dp"
          android:text="Your Treatment has been sent to the following lab"/&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;LinearLayout
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:orientation="horizontal"
      android:layout_alignParentBottom="true"
      android:layout_alignParentRight="true"
      android:padding="20dp"
      android:id="@+id/tv_rateDoctor"&gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/rate_doctor"
          android:textSize="@dimen/font_input"
          android:fontFamily="@font/lato_bold"
          /&gt;
      &lt;ImageView
          android:layout_marginStart="5dp"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          app:srcCompat="@drawable/ic_arrow_right"
          android:layout_marginLeft="30dp" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>
  <a href="https://i.stack.imgur.com/6nBuN.png" rel="nofollow noreferrer">Image of desirable output</a></p>