Horizontal Curved Sliding menu

2020-04-12 16:36发布

问题:

In my app i want to achieve some thing like this

I have tried a lot of libraries which provide a circular layout for example like this one:- https://github.com/dmitry-zaitsev/CircleLayout

You can check the code for circlelayout there , not posting here as its too big.

I have also tried Circular List view as discussed in here:- Circular ListView (Items on Half Circle)

But with both the approach i am able to achieve something like this :-

This looks something like Ferris wheel but its not what i want , where the elements are connected to each other and the scrolling is smooth.

回答1:

You can try with https://github.com/xresco/CircularLayout and Circular Scrollable layout

A scrollable circular layout for android where you can add items, customize the radius, the number of items displayed at a time and the X and Y offset of the layout.

Moreover, you can control how the items are rendered when scrolling the layout.

There are two modes Pinned and Fixed. The two modes differ in the way the items rotate. Here are the samples:



回答2:

you can try this https://github.com/siyamed/android-satellite-menu/

or

https://github.com/Andrew0000/Circular-Layout

I wish anyone of 2 that will help you.