找回密码
 立即注册
菜单theViewFlipper图片 | android开发 2022-05-29 124 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
源代码介绍
一个模仿团购应用的图片菜单效果的源码。目前已经实现了以下功能:
1. 图片导航菜单展开(ExpandableListView)
2.子菜单滑动开关(ViewFlipper)
3.根据当前页面显示页面标签
还有两个问题,感兴趣的朋友可以研究一下:
1.一级菜单展开时是否可以添加动画,使子菜单(图片)从右上到下慢慢展开。如果直接添加翻译动画,菜单会先展开并放在一边
如果它是空白的,图片只是动画,这是丑陋的。
2、可以用ViewPager代替ViewFlipper,从而达到切换图片时跟随手指移动的效果。

(Source code introduction
A source code that simulates the picture menu effect of the group purchase application. At present, the following functions have been realized:
1. expand the picture navigation menu (expandablelistview)
2. submenu slide switch (viewflipper)
3. display the page label according to the current page
There are two other questions that interested friends can study:
1. whether animation can be added when the first level menu is expanded, so that the submenu (picture) can be expanded slowly from top right to bottom. If you add translation animation directly, the menu will be expanded and put aside
If it is blank and the picture is just animation, it is ugly.
2. You can use viewpager instead of viewflipper to achieve the effect of following the finger when switching pictures.)

[下载]16332137824.rar


163319i8adx9ubuqr1varl.jpg
163319d6z6v833zn5x8h6z.jpg
163320k1k7qd2qwpsavlkf.jpg


上一篇:Android 仿苹果通话界面源码
下一篇:Android 高仿点心桌面皮肤源码