Android Custom wheel or slot machine implementation

后端 未结 4 1381
-上瘾入骨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:57

    For the perspective, look at http://developer.android.com/reference/android/graphics/Camera.html

    You set the location of the camera, and then get the matrix, and use it to draw the image.It will set the skew, and scale for you.

提交回复
热议问题