0
私はScrollViewを親レイアウトとして持っています。最初は正しく読み込まれ、別の画面に移動して戻ってきます。画面のボトムにあるソフトメニューバー。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に宣言してください –
マニフェストファイルを表示する –