I have a Linear Layout for advertisement. This Code works great with Ad Mob. The Ad Mob Banner is centered. And it looks good with a Galaxy Nexus and Samsung galaxy y duos. But it doesn't works with InMobi advertisement. On Galaxy Nexus, the Banner is on the Left and on Samsung Galaxy Duos the Banner is on the left and it is a little bit smaller.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layoutAdView"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true" >
</LinearLayout>
</RelativeLayout>
My big Problem is, that the banner is on the Left.
I solved the Left problem. Change Linear Layout to Relative Layout.