title: Unable to align one Image button right while the other one the left
body: <p>This the xml in which I am trying to keep one image button on the right and while the left ? 
  I dont why it is not happening though i have set the grvaity too ?
      </p>
  
  <pre><code>&lt;LinearLayout android:id="@+id/linearLayout1"
        android:layout_height="wrap_content" android:gravity="center_horizontal"
         android:layout_width="wrap_content" android:layout_gravity="fill"&gt;
             &lt;ImageButton android:layout_width="wrap_content"
          android:layout_gravity="left" android:id="@+id/imageButton1"
          android:src="@drawable/arrow_button_left"    android:layout_height="wrap_content"&gt;&lt;/ImageButton&gt;
              &lt;ImageButton android:layout_width="wrap_content"
              android:layout_gravity="right" android:id="@+id/imageButton2"
              android:src="@drawable/arrow_button_right"      android:layout_height="wrap_content"&gt;&lt;/ImageButton&gt;
      &lt;/LinearLayout&gt;
  </code></pre>