Make childs bigger
See original GitHub issueHi, thanks for perfect library. I hava a problem about childs. Here is my implementation :
layoutManager.setPostLayoutListener(new CarouselZoomPostLayoutListener()); layoutManager.setMaxVisibleItems(4);
recyclerView.setLayoutManager(layoutManager);
// we expect only fixed sized item for now
recyclerView.setHasFixedSize(true);
// sample adapter with random data
recyclerView.setAdapter(adapter);
// enable center post scrolling
recyclerView.addOnScrollListener(new CenterScrollListener());
here what i want to do : ios photo
here what i do : android
how can i make bigger these childs? thank you
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Growth and Your 6- to 12-Year-Old (for Parents) - Kids Health
Kids tend to get taller at a pretty steady pace, growing about 2.5 inches (6 to 7 centimeters) each year. When it comes...
Read more >How to Make A Small Kid's Room Appear Bigger
Another technique very commonly applied to make a kid's room appear larger is to draw the attention upwards - towards the ceiling. This...
Read more >What can I do if my child is overweight? - NHS
be a good role model · encourage 60 minutes, and up to several hours, of physical activity each day · keep to child-size...
Read more >Swapping Bodies with a Child Makes Everything Seem Bigger
Adults can regain that feeling of living in an oversize world just by putting on a virtual-reality headset. (Large kid who used to...
Read more >how to make child widget looks like its bigger then its parent ...
The blue circle widget size is bigger than its parent widget. But I don't know how to make it without any plugins. Please...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
scale = (float) (2 * (2 * -StrictMath.atan(Math.abs(itemPositionToCenterDiff/3) + 1.0) / Math.PI + 1)); It worked for me 😃
I think you may need to make a new
PostLayoutListener
. Try copying theCarouselZoomPostLayoutListener
and replaceatan
withsin
instead and experiment.The
atan
function is used only as a methoematical equation to make centre things large with slower changes and things on the side to small with faster changes