두 가지 옵션이있는 것 같습니다. 인 텐트를 사용하고 두 번째 활동에서 서랍을 구현할 수 있습니다. 이로 인해 많은 코드가 중복되기 때문에 이상적이지 않습니다.
또는 (더 나은)
당신은 당신의 활동에 다른 레이아웃을 사용할 수 있습니다. 다음과 같은 내용이 있습니다.
<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">
<FrameLayout
android:id="@+id/frame_container"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ListView
android:id="@+id/list_slidermenu"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:choiceMode="singleChoice"
android:dividerHeight="1dp" />
</android.support.v4.widget.DrawerLayout>
그런 다음 framelayout에서 조각을 사용할 수 있습니다. 그런 다음 fragmentmanager를 사용하고 사용자가 서랍에서 클릭하는 프레임의 조각을 바꿉니다.
자세한 내용은 http://developer.android.com/training/implementing-navigation/nav-drawer.html을 확인하십시오.