Я хочу изменить размер своего макета активности, когда открывается программная клавиатура.Я попытался поместить это в манифест:
android:windowSoftInputMode="adjustResize"
, но это не работает.А это мой макет xml:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context=".ui.SettingsActivity">
<!-- BODY -->
<ScrollView
android:id="@+id/scrollViewBody"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!-- my list -->
</LinearLayout>
</ScrollView>
<!-- TOOLBAR -->
<include layout="@layout/toolbar" />
Размер не изменяется при открытии клавиатуры ... Помогите мне, пожалуйста