Я только что интегрировал 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>