I have created a google advertisement in my android app using com.google.android.gms.ads.AdView in my Xml file like below. After a while i have noticed that the ads go left and keeps spaces from right. I change the gravity to "center" and the layout\_gravity to center but still the same
this is my xml

```
 <LinearLayout
    android:id="@+id/linear"
    android:layout_width="fill_parent"
    android:layout_height="match_parent"
    android:background="@color/White"
    android:orientation="vertical" >

    <include
        android:id="@+id/main_bar"
        layout="@layout/top_main_action_bar" />

    <RelativeLayout
        android:id="@+id/relative"
        android:layout_width="fill_parent"
        android:layout_height="0dp"
        android:layout_weight="0.9" >

        <include layout="@layout/channel_list_viewpager" />

        <ProgressBar
            android:id="@+id/progressBar"
            style="@android:style/Widget.Holo.Light.ProgressBar.Large"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_centerVertical="true"
            android:visibility="gone" />

        <ListView
            android:id="@+id/listOverflow"
            android:layout_width="@dimen/overflow_width"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_alignParentTop="true"
            android:background="@drawable/popup_menu_shadow"
            android:cacheColorHint="@android:color/transparent"
            android:divider="@null"
            android:dividerHeight="0dp"
            android:listSelector="#00000000"
            android:visibility="gone" />
    </RelativeLayout>

    <com.google.android.gms.ads.AdView
        android:id="@+id/adView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="fill"
        ads:adSize="SMART_BANNER"
        ads:adUnitId="/7229/Assafir_Mobile_Apps" />
</LinearLayout>

```