I have used LinearLayout in my activity, in that I need to display another LinearLayout containing image to be displayed at the bottom.

```
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/relativeLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="@drawable/gamelevelscreen"
android:orientation="vertical" >
.......
            <LinearLayout
            android:id="@+id/linearLayout_AdMob"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"           
            android:orientation="horizontal"
            android:layout_gravity="bottom"
            android:layout_alignParentBottom="true"
            android:gravity="center">
            </LinearLayout>  
</LinearLayout>

```

But the image is not completely aligned at the bottom. Its a little above the bottom.
I have completed the layout designing and it will be a lot of rework to make it Relative now. Kindly give solution to make it happen in LinearLayout only.