material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[Carousel] Hero strategy carousel_alignment not found

Open ravithoria opened this issue 3 years ago • 1 comments

While trying to use material component Carousel with Hero strategy carousel_alignment for xml and setCarouselAlignment programmatically not found

 <androidx.recyclerview.widget.RecyclerView
      ...
      app:layoutManager="com.google.android.material.carousel.CarouselLayoutManager"
      app:carousel_alignment="center"
      android:orientation="horizontal"/>

carouselLayoutManager.setCarouselAlignment(CarouselLayoutManager.CENTER);

Material Library version: 1.11.0-alpha01

ravithoria avatar Aug 02 '23 04:08 ravithoria

Hero strategy carousel alignment was added in 7cfd30f99b0ccb44540d124b9cca201d1b707e3b which will be in the next alpha release

imhappi avatar Aug 02 '23 16:08 imhappi