-1
슬라이드 제목을 만들었지 만 문제는 내가 액션 바를 슬라이드하지 않는다는 것입니다.안드로이드 DrawerLayout 슬라이딩 액션 바
내용 만 슬라이드합니다.
여기에 "기본"탐색 서랍이 내용 만이 아닌 액션 바 슬라이드하기위한 것입니다
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.me.ui.MainActivity">
<LinearLayout
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
</LinearLayout>
</FrameLayout>
<ListView
android:id="@+id/side_menu"
android:layout_width="@dimen/slide_menu_width"
android:layout_height="fill_parent"
android:layout_gravity="start"
android:background="@android:color/black"
android:choiceMode="singleChoice"
android:divider="@null"></ListView>
</android.support.v4.widget.DrawerLayout>
작업 표시 줄을 슬라이드하는 것이 좋지 않을 수도 있습니다. – jonney
나는 나쁜 (또는 좋은) 디자인이라고 부르지는 않겠지 만, 일반적인 행동은 그것을 미끄러 뜨리지 않기 때문에 사용자의 대다수가 기대하지 않는 것이 아니다. – fedepaol