Facebook幻灯片菜单 - 在Android中向右滑动? [英] Facebook Slide menu-slide to right in android?

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

问题描述

我使用 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项目在 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幻灯片菜单 - 在Android中向右滑动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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