Я пытаюсь создать довольно простой экран чата с ListView, отображающим текст и EditText внизу, и кнопкой «Отправить» справа от EditText. Все работает, но когда я нажимаю EditText, виртуальная клавиатура закрывает его. Экран немного поднимается, но не настолько, чтобы его можно было увидеть над клавиатурой. У меня есть тег "adjustPan" в моем манифесте, и я также пробовал тег "adjustResize", но безрезультатно. Я предполагаю, что это как-то связано с тем, как настроен мой макет, но я, честно говоря, понятия не имею. Пожалуйста, помогите!
Текущий макет ...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ListView android:id="@+id/android:list"
android:layout_height="0dip"
android:layout_width="fill_parent"
android:layout_weight="1"
android:stackFromBottom="true">
</ListView>
<LinearLayout android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<EditText android:id="@+id/sendMessageBox"
android:focusable="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:scrollbars="vertical"
android:maxLines="4"
android:text=""
android:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
android:maxLength="1000"
android:hint="Type your message..."
android:imeOptions="actionSend"/>
<Button android:id="@+id/sendMessageButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:text="Send"/>
</LinearLayout>