Android支持库23.2-导航抽屉和/或工具栏

Android支持库23.2-导航抽屉和/或工具栏,android,android-studio,android-support-library,Android,Android Studio,Android Support Library,当我使用新的Android支持库23.2(特别是com.Android.Support:design:23.2.0)时,Android Studio实现的导航抽屉中使用的工具栏会向下推图标和标题。看一看: 我的导航抽屉实现只是由Android Studio生成的,没有自定义更改 有什么线索可以帮我解决吗 提前谢谢 更新 工具栏资源文件(XML): 从工具栏中删除android:fitsystemwindows=“true”标签应该会有所帮助 这就是android:fitsystemwindo

当我使用新的Android支持库23.2(特别是
com.Android.Support:design:23.2.0
)时,Android Studio实现的导航抽屉中使用的工具栏会向下推图标和标题。看一看:

我的导航抽屉实现只是由Android Studio生成的,没有自定义更改

有什么线索可以帮我解决吗

提前谢谢

更新

工具栏资源文件(XML):


工具栏中删除
android:fitsystemwindows=“true”
标签应该会有所帮助

这就是android:fitsystemwindows=“true”属性的默认行为:它设置视图的填充,以确保内容不会覆盖系统窗口

上面的引文来自一种Android开发模式


根据请求添加了注释作为答案。

您能分享您的工具栏资源文件(xml)吗?@GuillerMap更新了工具栏资源文件的问题请尝试删除
android:fitsSystemWindows=“true”
并查看。这就是原因。。。我刚在这里测试过,效果很好。。它将解决您的问题删除fitsSystemWindowsSuccess!删除android:fitsSystemWindows=“true”
完成了任务!真的谢谢!
<?xml version="1.0" encoding="utf-8"?>
<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"
    android:fitsSystemWindows="true"
    tools:context="net.sqoops.sqoops.activity.TimelineActivity">

    <android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:theme="@style/AppTheme.AppBarOverlay">

        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            android:fitsSystemWindows="true"
            android:background="?attr/colorPrimary"
            app:popupTheme="@style/AppTheme.PopupOverlay" />

    </android.support.design.widget.AppBarLayout>

    <include layout="@layout/content_timeline"/>

</android.support.design.widget.CoordinatorLayout>