2016-09-24 5 views
0

私はScrollViewを親レイアウトとして持っています。最初は正しく読み込まれ、別の画面に移動して戻ってきます。画面のボトムにあるソフトメニューバー。Scrollviewはアンドロイド下部のソフトメニュー(裏、自宅)の下にあります

必須: enter image description here

は行き方: enter image description here

<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" /> 
+0

この問題が発生しているアクティビティのマニフェストでは、fitsSystemWindowをtrueに宣言してください –

+0

マニフェストファイルを表示する –

答えて

0

ScrollViewfillViewPort="true"を追加してみてください。

関連する問題