public class FullScreenCarouselStrategy
extends CarouselStrategy

   ↳ com.google.android.material.carousel.CarouselStrategy
     ↳ com.google.android.material.carousel.FullScreenCarouselStrategy

A CarouselStrategy that fits one full-width or full-height item into a container to create a layout to browse one item at a time.

Note that the item masks will be based on the items encompassing the full width or full height of the carousel. The carousel item dimensions should reflect this with match_parent dimensions.

This class will automatically be reversed by CarouselLayoutManager if being laid out right-to-left and does not need to make any account for layout direction itself.

For more information, see the component developer guidance and design guidelines.


Public constructors


Inherited methods

Public constructors


public FullScreenCarouselStrategy ()