Skip to content


[Catalog] Applied edge-to-edge to bottom sheet in Carousel demo
Browse files Browse the repository at this point in the history
Resolves #3505
Resolves #3504

PiperOrigin-RevId: 555208372
  • Loading branch information
manabu-nakamura authored and dsn5ft committed Aug 9, 2023
1 parent 02dc779 commit 6c2dd5d
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -38,6 +38,7 @@
import io.material.catalog.feature.DemoFragment;
import io.material.catalog.windowpreferences.WindowPreferencesManager;

/** A fragment that displays the fullscreen variant of the Carousel. */
public class FullScreenStrategyDemoFragment extends DemoFragment {
Expand Down Expand Up @@ -65,6 +66,9 @@ public void onViewCreated(@NonNull View view, @Nullable Bundle bundle) {
// Opt in to perform swipe to dismiss animation when dismissing bottom sheet dialog.

new WindowPreferencesManager(requireContext())

verticalDivider =
new MaterialDividerItemDecoration(
requireContext(), MaterialDividerItemDecoration.VERTICAL);
Expand Down

0 comments on commit 6c2dd5d

Please sign in to comment.