Jak dodać dwa fragmenty razem w ramce Layout w czasie wykonywania

Tworzę aplikację andorid znavigation drawer i mam układ do przeglądania treści w ten sposób:

<android.support.v4.widget.DrawerLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <!-- As the main content view, the view below consumes the entire
         space available using match_parent in both dimensions. -->

    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/content_frame"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

    <ListView
        android:id="@+id/left_drawer"
        android:layout_width="240dp"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:choiceMode="singleChoice"
        android:dividerHeight="0dp"
        android:divider="@android:color/transparent"
        android:background="@color/default_color"/>
</android.support.v4.widget.DrawerLayout>

Mogę więc dodać i zastąpić fragment kliknięciem elementu nawigacyjnego. Do teraz wszystko w porządku.

Ale w jednym przypadku, po kliknięciu elementu w szufladzie nawigacyjnej, muszę pokazać dwa fragmenty zamiast jednego (tak jak fragment listy i fragment szczegółów). Jak mogę to zrobić? Czy powinienem wtedy dodać dwa fragmenty do framelayout? Ale jak? lub powinienem zmienić zawartośćWidok na innydrawerLayout ? Jeśli tak, jak mogę to zrobić?

questionAnswers(1)

yourAnswerToTheQuestion