title: Android, How to stick gallery into left side of screen?
body: <p>I have two questions.</p>
  
  <p>The first, when i load the activity first item of gallery is in the middle. How to ask android to align it to left? (actually i used align="left" but it seems doesn't work)</p>
  
  <p>the second, my activity includes three items, header, body and footer. currently the footer (gallery) is on top of body. I want bottom of body stays on above of footer instead of behind of footer.</p>
  
  <p>any suggestions appreciated. The image is like this.</p>
  
  <p><img src="https://i.stack.imgur.com/81WyD.png" alt="enter image description here"></p>
  
  <p>the code:</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  = "fill_parent"
      android:layout_height = "fill_parent"
      android:background    = "@drawable/bg" &gt;
  
  
      &lt;!-- Loading header of this UI which is coded separately --&gt;
      &lt;include
          android:id="@+id/header" 
          layout="@layout/header_bar" /&gt;
  
  
  
      &lt;GridView 
          android:id="@+id/news_gridview"
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content"
          android:layout_marginTop="10dip"
          android:numColumns="2"
          android:verticalSpacing="5dp"
          android:horizontalSpacing="5dp"
          android:layout_below="@id/header"
          android:layout_centerInParent="true" /&gt;  
  
  
      &lt;Gallery 
          android:id="@+id/gallery"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>