Azoft / CarouselLayoutManager

Android Carousel LayoutManager for RecyclerView
Apache License 2.0
2.56k stars 367 forks source link

Increase child height and width #80

Closed ronmeroz closed 6 years ago

ronmeroz commented 6 years ago

Hey, I want to increase the size of a child (without changing the scroll or the size of the card that in the middle - only make the child higher). If anyone knows how to do it, I will thank him very much.

mig35 commented 6 years ago

Hi @ronmeroz

I don't get your issue, can you provide any image or better explanation? Also the zooming size and transition are controlled in https://github.com/Azoft/CarouselLayoutManager/blob/master/CarouselLayoutManager/carousel/src/main/java/com/azoft/carousellayoutmanager/CarouselZoomPostLayoutListener.java

ronmeroz commented 6 years ago

@mig35 I want the child to be in the size like the purple line in the picture.

74defe35-8ba3-40d7-b53c-6de0c4902359

mig35 commented 6 years ago

@ronmeroz As I can see you are editing my sample app and I used fixed sized RecyclerView there. So you should edit it to have any size except wrap_content because it is not supported now. I'm sure that if you give any background to the RecyclerView it will not be full screen. So just check the height argument there.

MssMaster commented 5 years ago

@ronmeroz Are you able to increase the width of the child item?