CoordinatorLayoutとは何ですか?派手な名前に騙されないでください、それはステロイドのFrameLayoutにすぎません
a CoordinatorLayoutが何であるか/ 何をするかを最もよく理解するには、まず、それがCoordinateにとって何を意味するのかを理解/念頭に置く必要があります。
あなたがGoogleの言葉なら 
  座標
これはあなたが得るものです:

これらの定義は、CoordinatorLayoutがそれ自体で行うこと、およびCoordinatorLayout内のビューの動作を説明するのに役立つと思います。
CoordinatorLayout(ViewGroup)は、(̶a̶̶c̶o̶m̶p̶l̶e̶x̶̶a̶c̶t̶i̶v̶i̶t̶y̶̶o̶r̶̶a̶n̶̶o̶r̶g̶a̶n̶i̶z̶a̶t̶i̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶n̶o̶̶̶̶s
CoordinatorLayoutの助けを借りて、子ビューは調和して動作し、次のような素晴らしい動作を実装します 
  ドラッグ、スワイプ、フリング、またはその他のジェスチャー。
CoordinatorLayout内のビューは、これらの動作を指定して効果的に連携するために他のユーザーと交渉します
CoordinatorLayoutは、魅力的で調和のとれたレイアウトの作成に役立つマテリアルデザインの非常に優れた機能です。
子ビューをCoordinatorLayout内にラップするだけです。
<?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="com.byte64.coordinatorlayoutexample.ScollingActivity">
 <android.support.design.widget.AppBarLayout
    android:id="@+id/app_bar"
    android:layout_width="match_parent"
    android:layout_height="@dimen/app_bar_height"
    android:fitsSystemWindows="true"
    android:theme="@style/AppTheme.AppBarOverlay">
    <android.support.design.widget.CollapsingToolbarLayout
        android:id="@+id/toolbar_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true"
        app:contentScrim="?attr/colorPrimary"
        app:layout_scrollFlags="scroll|exitUntilCollapsed">
        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            app:layout_collapseMode="pin"
            app:popupTheme="@style/AppTheme.PopupOverlay" />
        <TableLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
    </android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_scolling" />
<android.support.design.widget.FloatingActionButton
    android:id="@+id/fab"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/fab_margin"
    app:layout_anchor="@id/app_bar"
    app:layout_anchorGravity="bottom|end"
    app:srcCompat="@android:drawable/ic_dialog_email" />
 </android.support.design.widget.CoordinatorLayout>
およびcontent_scrolling:
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView     
 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.byte64.coordinatorlayoutexample.ScollingActivity"
 tools:showIn="@layout/activity_scolling">
 <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="@dimen/text_margin"
    android:text="@string/large_text" />
 </android.support.v4.widget.NestedScrollView>
これにより、スクロールしてツールバーを折りたたみ、FloatingActionButtonを非表示にすることができるレイアウトが得られます。
開いた:

閉まっている:
