title: Setting textview at bottom in android
body: <p>I have Textview inside Linearlayout. I want it to be displayed at bottom but it is showing me only at the centre. My xml file is look like the code below. I tried replacing LinearLayout with RelativeLayout but it did't worked.</p>
  
  <pre><code>&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="@android:color/black"&gt;
  &lt;RelativeLayout
  android:id="@+id/relativeLayout1"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:background="#000"
  android:layout_gravity="bottom" &gt;
  
   &lt;/RelativeLayout&gt;
  
  &lt;TextView
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:id="@+id/TextViewBottomTitle"
      android:text="@string/app_logo_bottom"
      android:textColor="@color/logo_color"
      android:gravity="center"
      android:textSize="@dimen/logo_size"&gt;&lt;/TextView&gt;
  &lt;TextView
      android:id="@+id/TextViewBottomVersion"
      android:text="@string/app_version_info"
      android:textSize="@dimen/version_size"
      android:textColor="@color/version_color"
      android:background="@color/version_bkgrd"
      android:layout_height="fill_parent"
      android:lineSpacingExtra="@dimen/version_spacing"
      android:layout_width="fill_parent"
      android:layout_gravity="center_vertical|center_horizontal"
      android:gravity="center"&gt;&lt;/TextView&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Any one have idea?</p>