광고를위한 선형 레이아웃이 있습니다. 이 코드는 Ad Mob과 잘 작동합니다. 광고 Mob 배너가 중앙에 배치됩니다. Galaxy Nexus와 Samsung Galaxy y duos에서 잘 어울립니다. 그러나 InMobi 광고에서는 작동하지 않습니다. 갤럭시 넥서스에서는 배너가 왼쪽에 있고 삼성 갤럭시 듀오에서는 배너가 왼쪽에 있으며 조금 작습니다.Android - InMobi 배너 - 왼쪽 및 소형에?
<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>
내 큰 문제는 배너가 왼쪽에 있다는 것입니다.