whatsapp appbar 메뉴 옵션이 있지만 목록보기가이 프레임 레이아웃 위에 있습니다. 스크롤 동작도 추가했습니다. 변경을 할 때까지 완벽하게 작동하고 있었고 지금은 수정 방법을 모른다.내 listview가 appbar 위에 있습니다.
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.example.feelingoodlivinbeta.socialdreams_a1.HostMainMenuActivity">
<include layout="@layout/toolbar" />
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
</android.support.design.widget.AppBarLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="?attr/actionBarSize">
<io.codetail.widget.RevealFrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/settings_menu_host_layout" />
</io.codetail.widget.RevealFrameLayout>
</FrameLayout>
<include layout="@layout/content_host_main_menu" />
</android.support.design.widget.CoordinatorLayout>
에
app:layout_behavior="@string/appbar_scrolling_view_behavior"
을 추가? ** 편집 ** layout_weight를 사용하지 마십시오. –