AdWhirlをアプリに統合しました。メインアクティビティのレイアウトの下部に表示されるようにAdWhirlビューを設定しています。メインレイアウトにいくつかのEditTextボックスがあり、アプリが最初に起動したときにテキストボックスをクリックすると、通常どおりソフトキーボードが表示されます。ただし、別のアクティビティに移動してメインアクティビティに戻ると、EditTextをクリックすると、ソフトキーボードがポップアップし、上部にAdWhirlビューが表示され、EditTextボックスが覆われます。私はこれに何日も苦労してきました。どんな助けでもいただければ幸いです。
すべてのアクティビティのマニフェストにandroid:windowSoftInputMode="adjustPan"が定義されています。
これが私のmain.xmlレイアウトです:
<RelativeLayout android:id="@+id/RelativeLayout01"
android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@+id/ImageView02"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:background="@drawable/other_bg_small" android:layout_weight="1"/>
<ImageView android:id="@+id/ImageView01"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:background="@drawable/banner" android:layout_alignParentTop="true"
android:paddingBottom="30dip"/>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:stretchColumns="1" android:gravity="center" android:id="@+id/table01"
android:layout_below="@id/ImageView01" >
... Table stuff
</TableLayout>
<LinearLayout android:layout_width="fill_parent"
android:id="@+id/ad_layout" android:layout_height="wrap_content"
android:gravity="bottom" android:layout_alignParentBottom="true"
android:layout_alignBottom="@+id/RelativeLayout01" android:layout_weight="1">
<com.adwhirl.AdWhirlLayout android:id="@+id/adwhirl_layout"
android:layout_width="fill_parent" android:layout_height="wrap_content"/>
</LinearLayout>
</RelativeLayout>