私は数日間運が無くてもそれを探していました。私は自分の断片の1つをナビゲーションドレープのように振る舞わせようとしています。誰か私にいくつかの手掛かりを与えることができますか?ナビゲーション・ドロワー/スライディング・メニューとしてのフラグメント
ここに私の断片です:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="pl.webtube.bejmy.fragments.NotificationFragment">
<android.support.v7.widget.RecyclerView
android:id="@+id/notification_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</FrameLayout>
私は運がなくて、DrawerLayoutでそれを挿入しようとしました。
試した 'DrawerLayout' XMLを表示し、正しく動作しなかった方法を正確に説明する必要があります。 –
外側の 'FrameLayout'は必要ありません。フラグメントレイアウトは単なる '