问题描述
我有一个关于在 android 中旋转菜单的问题.我想让动画菜单像枪筒一样移动.
I have a question about rotating menu in android. I would like to make animated menu moving like gun cylinder.
其中 1-6 是 ImageButton,按钮顺时针或逆时针旋转取决于您触摸屏幕的方式.我知道如何放置 ImageButtons 等,但我从来没有制作过动画菜单,总是静态的.如果您能帮助我,我将不胜感激.
Where 1-6 are ImageButtons, and the buttons are rotating clockwise or countercw depending on how you touch the screen.I know how to place the ImageButtons etc. but i never made animated menu, always static. If you can help me i'd be very appreciated.
推荐答案
我认为你可以使用
1) 这里是旋转菜单库 https://github.com/dmitry-zaitsev/CircleLayout
1) here is library for rotating menu https://github.com/dmitry-zaitsev/CircleLayout
2) 使用轮播视图并根据您的要求设置 z 深度 http://www.codeproject.com/Articles/146145/Android-3D-Carousel
2) use carousel view and set z depth according to your requirement http://www.codeproject.com/Articles/146145/Android-3D-Carousel
3) 按照这个在android中创建一个圆形视图
这篇关于旋转菜单的制作方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!