title: Android Text view position with custom buttons in the layout
body: <p>I've the following layout </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="fill_parent"
      android:layout_height="fill_parent" android:background="@color/all_white"
      android:gravity="center"&gt;
  
      &lt;Button android:id="@+id/mq_categories" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="Browse Quiz Categories" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
      &lt;Button android:id="@+id/mq_random" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="Enter Random Quiz" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
      &lt;Button android:id="@+id/mq_profile" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="My Profile" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>which gives the output as </p>
  
  <p><img src="https://i.stack.imgur.com/HsCQq.png" alt="alt text"></p>
  
  <p><strong>Now I need to add a welcome text at the top section of the screen</strong> </p>
  
  <p>When I added the text view like this, only welcome text is displayed and no buttons and no scroll</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="fill_parent"
      android:layout_height="fill_parent" android:background="@color/all_white"
      android:gravity="center"&gt;
  
      &lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/mg_userinfo" android:layout_width="fill_parent"
          android:layout_height="fill_parent" android:text="Welcome"
          android:gravity="center" /&gt;
  
      &lt;Button android:id="@+id/mq_categories" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="Browse Quiz Categories" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
      &lt;Button android:id="@+id/mq_random" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="Enter Random Quiz" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
      &lt;Button android:id="@+id/mq_profile" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="My Profile" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/WQu6F.png" alt="alt text"></p>
  
  <p>When tried below lay out welcome text is displayed at the bottom of the buttons, but buttons got shifted to the top of the screen</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="fill_parent"
      android:layout_height="fill_parent" android:background="@color/all_white"
      android:gravity="center"&gt;
  
      &lt;Button android:id="@+id/mq_categories" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="Browse Quiz Categories" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
      &lt;Button android:id="@+id/mq_random" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="Enter Random Quiz" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
      &lt;Button android:id="@+id/mq_profile" android:layout_width="fill_parent"
          android:layout_height="wrap_content" android:layout_margin="5dp"
          android:text="My Profile" android:textColor="#EDFF99"
          android:background="@drawable/custom_button" /&gt;
  
      &lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/mg_userinfo" android:layout_width="fill_parent"
          android:layout_height="fill_parent" android:text="Welcome"
          android:gravity="center" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/AcG02.png" alt="alt text"></p>
  
  <p><strong>How can I need to add a welcome text at the top section of the screen with button on the center?</strong> </p>