0
У меня есть ScrollView в качестве родительского макета, он в первый раз загружается правильно, и если я перехожу на другой экран и возвращаюсь, он будет g ниже мягкая панель меню в нижней части экрана.Scrollview идет ниже мягкого меню (назад, домой) внизу в андроиде
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:fitsSystemWindows="false">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingEnd="@dimen/home_screen_right_left_padding"
android:paddingStart="@dimen/home_screen_right_left_padding">
//Layout body will come over here
</LinearLayout>
</<ScrollView>
Manifest file :
<activity
android:name=".common.controller.DashboardActivity"
android:exported="false"
android:label="Home"
android:theme="@style/ToolBar" />
В манифесте, для действия, в котором происходит эта проблема, объявить 'fitsSystemWindow' значение true –
show manifest file –