It is the picture of the app while scrolling. you can see status bar is scrolled up with rest of the content which should stick to top. Also when scrolling downward it should stop collapsing in specified min-width. Which is also stopped working once i introduced the ToolBar. Before that it was working as expected.
<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="com.wallpapermanager.ImageDetailsActivity">
<android.support.design.widget.AppBarLayout
android:id="@+id/foo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/grey_dark_transparent"
android:fitsSystemWindows="true">
<android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="200dp"
app:contentScrim="@android:color/transparent"
android:fitsSystemWindows="true"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
<ImageView
android:id="@+id/wallpaper_banner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:src="@drawable/wallpaper_placeholder"
app:layout_collapseMode="parallax" />
<!-- @Banner -->
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/grey_dark_transparent"
app:layout_collapseMode="pin"
app:statusBarScrim="@color/colorPrimaryDark"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
</android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
MAinfest
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".ImageDetailsActivity"
android:label="@string/title_activity_image_details"
android:parentActivityName=".MainActivity"
android:theme="@style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.sample.wallpapermanager.MainActivity" />
</activity>
</application>