当我从其他 activity 恢复时,我的操作栏显示为空白

My actionbar shows as blank when i resuming from other activity

我正在开发一个使用设计支持库编译的应用程序 'com.android.support:design:22.2.0'。 xml 我的 activity 设计代码如下。 http://prntscr.com/89in6t

<android.support.design.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

 <android.support.v7.widget.RecyclerView
    android:id="@+id/recycler_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"/>

<android.support.design.widget.AppBarLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <include
        android:id="@+id/toolbar1"
        layout="@layout/toolbar" />

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

这里,actionbar 是 show/hide 取决于滚动。 我的问题是当操作栏被隐藏并转到其他 activity 并完成它时,返回到相同的 activity。当时操作栏显示为空白,如下所示

http://prntscr.com/89iw4y

如何解决?

我认为这是设计支持库中的错误。

我通过在 Toolbar 下面添加一个空的 View 来解决它。