В моем приложении есть BottomSheet, и пользователь должен ввести некоторые данные с помощью программной клавиатуры. Однако при появлении программной клавиатуры нижний лист скрывается за ним. Я бы хотел, чтобы при каждом появлении софт-клавиатуры это нажатие поднималось вверх.
Я добавил следующее в манифест.
android:windowSoftInputMode="adjustResize"
Вот XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:orientation="vertical">
<TextView
android:id="@+id/tv_selected_font"
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="Choose a font"
android:padding="8dp"
android:gravity="center"/>
<SearchView
android:id="@+id/searchView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:queryHint="Select"
android:tooltipText="Tap to select"
/>
<android.support.v7.widget.RecyclerView
android:id="@+id/rv_f_chicken"
android:layout_width="match_parent"
android:layout_height="200dp"
android:visibility="visible" />
</LinearLayout>
Однако то же самое не работает. Ваша помощь / поддержка будут высоко оценены. Спасибо