Facebook的滑动菜单滑动到右的Andr​​oid? [英] Facebook Slide menu-slide to right in android?

查看:105
本文介绍了Facebook的滑动菜单滑动到右的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用 maddeye 滑动菜单库来实现一个Facebook像滑动条。它工作正常,由右至左滑动。

I used maddeye slide menu library to implement a Facebook like slide bar. It works fine, sliding from right to left.

现在我要的是从左至右在Android上的新Facebook的应用程序滑动。

Now what I want is to slide from left to right as the new Facebook app in Android.

我应该使用什么样的修改,使这一变化?有谁知道如何向两侧滑动作为新的Facebook应用程序?

What modification should I use to make this change? Does anyone know how to slide both sides as the new Facebook app?

推荐答案

我会尝试在Android的menudrawer项目<一href="https://github.com/SimonVT/android-menudrawer">https://github.com/SimonVT/android-menudrawer这正好碰到1.0.0感谢杰克沃顿商学院。

I would try the android-menudrawer project at https://github.com/SimonVT/android-menudrawer which just hit 1.0.0 thanks to Jake Wharton.

我尝试过了昨天,它看起来像它适合你的需求。

I tried it out yesterday and it looks like it fits your needs.

如果您搭建和安装APK样,你会看到所谓的右键菜单其中一个例子是我认为你正在寻找。其他的例子是正常滑动菜单的变型

If you build and install the sample APK, you'll see an example called "Right menu" which is what I think you're looking for. The other examples are variations of the normal sliding menu.

下面是本示例APK(MenuDrawerSamples)在行动截图。第一个屏幕截图显示右键菜单的例子与菜单抽屉关闭。轻触在右上角溢流菜单项,然后它揭示了菜单,如图第二屏幕截图。如果需要,您可以触发它,而不是从另一个动作栏按钮或其他按钮。

Here are screenshots of this sample APK (MenuDrawerSamples) in action. The first screenshot shows the Right Menu example with the menu drawer closed. Tap on the overflow menu item in the upper right corner and then it reveals the menu, as shown in the second screenshot. You could trigger it instead from another action bar button or other button if desired.

这篇关于Facebook的滑动菜单滑动到右的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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