Android Custom wheel or slot machine implementation

后端 未结 4 1365
-上瘾入骨i
-上瘾入骨i 2021-02-14 05:50

I need to implement a wheel like control (a slot machine) like in the picture.

\"enter

4条回答
  •  执笔经年
    2021-02-14 06:38

    enter image description here

    Just try this, keep 6 views 5 as shown in image and one in reserve. When the view 1 goes out of scope the reserve view came in with the next image & the view 1 became the reserve view similarly you should render the cycle as many times you want.

    The width grows while it moves from bottom to center and shrinks when it rolls towards top

提交回复
热议问题