diff --git a/samples/SupportDesignDemos/AndroidManifest.xml b/samples/SupportDesignDemos/AndroidManifest.xml index 9d724b3c9..026d090b8 100644 --- a/samples/SupportDesignDemos/AndroidManifest.xml +++ b/samples/SupportDesignDemos/AndroidManifest.xml @@ -235,5 +235,14 @@ + + + + + + + diff --git a/samples/SupportDesignDemos/res/layout/design_bottom_sheet_hideable.xml b/samples/SupportDesignDemos/res/layout/design_bottom_sheet_hideable.xml index 18a543e2d..d139a92eb 100644 --- a/samples/SupportDesignDemos/res/layout/design_bottom_sheet_hideable.xml +++ b/samples/SupportDesignDemos/res/layout/design_bottom_sheet_hideable.xml @@ -57,7 +57,7 @@ android:elevation="@dimen/bottom_sheet_elevation" android:minHeight="@dimen/bottom_sheet_peek_height" android:orientation="vertical" - app:layout_behavior="android.support.design.widget.BottomSheetBehavior" + app:layout_behavior="@string/bottom_sheet_behavior" app:behavior_peekHeight="@dimen/bottom_sheet_peek_height" app:behavior_hideable="true"> diff --git a/samples/SupportDesignDemos/res/layout/design_bottom_sheet_modal.xml b/samples/SupportDesignDemos/res/layout/design_bottom_sheet_modal.xml new file mode 100644 index 000000000..cbd3b27ec --- /dev/null +++ b/samples/SupportDesignDemos/res/layout/design_bottom_sheet_modal.xml @@ -0,0 +1,37 @@ + + + + + + +