tabWidget を一番下に設定しました。編集テキストを編集したいとき、キーボードが上がります。ただし、タブ ウィジェットはキーボードの上に表示されます。複数の画面をサポートするには、android:layout_weight="1.0" を設定します。その後、この問題が発生し、レイアウトコードを以下に追加しました。下部の TabWidget を安定させるアイデアはありますか?
コード:
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabcontent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_weight="1.0">
</FrameLayout>
<TabWidget android:id="@android:id/tabs"
android:layout_gravity="bottom" android:background="@drawable/gradient_black"
android:listSelector="@color/transparent" android:layout_width="fill_parent"
android:layout_height="63dip" />
</LinearLayout>