How to make android-wheel horizontal?

前端 未结 3 744
抹茶落季
抹茶落季 2021-01-21 17:05

I\'m trying to take the android-wheel from http://code.google.com/p/android-wheel/ and make it display horizontally. My first attempt to make this happen came from a suggestion

3条回答
  •  旧时难觅i
    2021-01-21 17:54

    I've managed to get the horizontal wheel displaying. I dislike the method I used, but it works.

    All I do is start an animation on the wheel view. Here's the rotate element I put in /res/anim with the relevant attributes.

    
    

    As I said, I dislike the implementation, but it worked for what I needed it for. I don't know how the scrolling works as it's disabled in my program, nor do I know if there's a performance hit of any kind from applying an animation in this way.

提交回复
热议问题