Android的 - 与子菜单滑动菜单 [英] Android - Sliding menu with sub menu

查看:218
本文介绍了Android的 - 与子菜单滑动菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我的应用程序有脸书状滑动菜单。我google'd关于这个问题,并发现了许多帖子在那里,这不仅帮助我建立一个单一的滑动菜单。但是,我需要的是,2级滑动菜单即,当我在滑动菜单点击一些选项,它应该开在它(第一滑动菜单应该模糊,在这一点上)之类的zomato应用程序,如下图所示顶部的另一个滑动菜单。我试着用JFeinstein滑动菜单库,但我可以用它构建一个2级滑动菜单。是否有任何其他图书馆实现这一目标或者我应该我自己建一个?

I wanted my app to have face book like sliding menu. I google'd about the issue and found many posts out there, which only helped me to build a single sliding menu. But what i need is, 2 level sliding menu ie, when i click on some option in sliding menu, it should open another sliding menu on top of it (first sliding menu should blur at this point) like the zomato app as shown below. I tried with JFeinstein sliding menu library, but i could build a 2 level sliding menu using it. Are there any other libraries to achieve this or should i build one on my own?

下面显示的是滑动菜单从Zomato应用程序:

Shown below is sliding menu from Zomato app :

当我点击位置选项,上面显示的菜单上,它会打开一个二级菜单,如下图所示。我想同样的功能。

When i click on "location" option on the above shown menu, it will open a secondary menu as shown below. I wanted the same feature.

推荐答案

查看滑动面板组件的一个小部件可以使多个重叠的观点与滑动的交互显示在有效的一个屏幕上显示多个深度数据。

Check out the Sliding Panel component a widget enabling multiple overlaid views with sliding interaction for showing multiple depth data in one screen display effectively.

它还提供了<一href="http://developer.digitalaria.com/res/fdownload.php?f=gama_sample_slidingpanel_android.zip">demo的参考实现,你也可以检查一下。

It also provide the demo of referenced implementation you can also check it.

感谢。

这篇关于Android的 - 与子菜单滑动菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆