1、简介php
该demo主要展现了3种下拉菜单。 1、仿QQ弹出菜单 主要实现原理是经过add一个ui,而后经过点击事件控制其visible属性来显示或者隐藏。 2、组合下拉菜单 主要用到的控件是do_Animator用来控制赛选条件点击后的动画效果,do_ListView主要用在“地区”选择中。是经过 3个do_ListView的联动实现的地区选择效果。 3、 控制切换菜单 主要经过do_FragmentView组件中绑定模板后调用的showLeft()、reset()方法来实现git
2、效果图github
3、相关下载动画
https://github.com/do-project/code4do/tree/master/dropdown_menu_demoui
4、相关讨论.net
http://bbs.deviceone.net/forum.php?mod=viewthread&tid=858&extra=code
5、更多案例
http://source.deviceone.net/
6、关于DeviceOne
http://www.deviceone.net/事件