title: Center TextView below FrameLayout
body: <p>So I have a FrameLayout with an Image View and a Progressbar. And below the frame layout I have a textview. How do I center this textview below the image/framelayout properly. Here is what it looks like: <a href="https://imgur.com/a/NBHjA" rel="nofollow">https://imgur.com/a/NBHjA</a>, and here is what I want: <a href="https://imgur.com/a/d8Vkd" rel="nofollow">https://imgur.com/a/d8Vkd</a></p>
  
  <p>With this, the text is centered, but now the progressbar doesn't display while the image loads:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:background="?attr/background"
      tools:context="com.nmoorthy.malscoretracker.ViewAnimeScores"&gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_height="wrap_content"
          android:layout_width="match_parent"
          android:minHeight="?attr/actionBarSize"
          android:background="?attr/colorPrimary"
          android:elevation="4dp"
          app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
          app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
          &gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textSize="18sp"
              android:textColor="@color/text_color_inverse"
              android:maxLines="1"
              android:ellipsize="end"
              android:id="@+id/toolbar_title" /&gt;
  
      &lt;/android.support.v7.widget.Toolbar&gt;
  
      &lt;RelativeLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@+id/toolbar"
          android:layout_marginLeft="16dp"
          android:layout_marginTop="24dp"
          android:id="@+id/innerrelativelayout"
          &gt;
          &lt;!--&lt;FrameLayout--&gt;
          &lt;ProgressBar
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:id="@+id/progress_bar"
              android:layout_centerInParent="true"
              android:visibility="visible"/&gt;
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
  
                  android:id="@+id/image"
                  /&gt;
  
          &lt;!--&lt;/FrameLayout&gt;--&gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@+id/image"
              android:text="Status"
              android:id="@+id/status"
              android:textSize="10sp"
              android:textStyle="italic"
              android:layout_centerHorizontal="true"/&gt;
  
      &lt;/RelativeLayout&gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Synopsis"
          android:id="@+id/synopsis"
          android:layout_toRightOf="@+id/innerrelativelayout"
          android:layout_alignParentRight="true"
          android:layout_below="@+id/toolbar"
          android:layout_marginTop="18.9dp"
          android:layout_toEndOf="@+id/innerrelativelayout"
          android:layout_marginLeft="20dp"
          android:layout_marginRight="12dp"
          android:maxLines="6"
          android:ellipsize="end" /&gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="10.0"
          android:id="@+id/highScore"
          android:paddingLeft="16dp"
          android:paddingTop="13dp"
          android:textSize="12sp"
          android:fontFamily="sans-serif-condensed"
          android:layout_below="@+id/innerrelativelayout"/&gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="0.0"
          android:id="@+id/lowScore"
          android:paddingLeft="16dp"
          android:paddingTop="77dp"
          android:textSize="12sp"
          android:fontFamily="sans-serif-condensed"
          android:layout_below="@+id/innerrelativelayout"/&gt;
  
      &lt;TextView
          android:id="@+id/noGraph"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textSize="16sp"
          android:paddingTop="40dp"
          android:visibility="gone"
          android:fontFamily="sans-serif-condensed"
          android:textStyle="bold"
          android:layout_below="@id/innerrelativelayout"
          android:text="You need at least 2 scores for a graph"
          android:layout_centerHorizontal="true"/&gt;
      &lt;com.db.chart.view.LineChartView
          android:id="@+id/linechart"
          android:layout_width="match_parent"
          android:layout_height="100dp"
          android:paddingRight="16dp"
          android:paddingLeft="5dp"
          android:paddingTop="15dp"
          android:paddingBottom="15dp"
          android:layout_toRightOf="@+id/highScore"
          android:layout_below="@+id/innerrelativelayout"/&gt;
  
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="4/8/16"
          android:paddingLeft="5dp"
          android:textSize="12sp"
          android:paddingTop="5dp"
          android:layout_toRightOf="@+id/lowScore"
          android:layout_below="@id/linechart"
          android:id="@+id/firstdate"
          /&gt;
      &lt;RelativeLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_toRightOf="@+id/firstdate"
          android:layout_below="@id/linechart"&gt;
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="4/13/16"
              android:paddingRight="16dp"
              android:textSize="12sp"
              android:layout_alignParentRight="true"
              android:paddingTop="5dp"
              android:id="@+id/lastdate"
              /&gt;
      &lt;/RelativeLayout&gt;
  
  
      &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/recycler_view"
          android:scrollbars="vertical"
          android:paddingTop="3dp"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@+id/firstdate"
          /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I want to center status under the imageview in frame. I've tried center horizontal and alignparentbottom but they both don't work.</p>