0

Android PreferenceScreen overlayツールバー。 ツールバーの下にある[プリファレンス]画面を設定するために余白と余白を使用しようとしましたが、成功しませんでした。Android PreferenceScreen overlayツールバー

注:ActionBarでツールバーを変更すると、期待どおりに機能します。

助けてください。私はちょうど今、問題解決

+0

私たちはより良い理解に –

+0

感謝を得るように、任意のスクリーンショット/ XMLコードを投稿してください、私はあなたの助けに感謝します。私はすでに問題を解決し、それを投稿しています。 –

答えて

0

おかげで、 Hrach:ここ

はコードです:

<RelativeLayout 
     android:layout_width="match_parent" 
     android:layout_height="match_parent"> 

     <include layout="@layout/app_toolbar" 
      android:id="@+id/app_toolbar" /> 

     <FrameLayout 
      android:id="@+id/pref_content" 
      android:layout_width="match_parent" 
      android:layout_height="wrap_content" 
      android:layout_below="@id/app_toolbar" /> 

     <!-- The main content view --> 
     <FrameLayout 
      android:id="@+id/content_frame" 
      android:layout_width="match_parent" 
      android:layout_height="match_parent" 
      android:paddingTop="?attr/actionBarSize"/> 

    </RelativeLayout> 

拳を追加した後、問題が解決されたでframeLayout。

おかげ