导航,Facebook的应用程序是使用 [英] the Navigation that facebook app is using

查看:197
本文介绍了导航,Facebook的应用程序是使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您必须使用Facebook的Andr​​oid应用程序。我想实现一个Facebook的使用像相同的导航:
在swipping左侧的菜单打开,swipping正确显示在聊天列表。而在中间的活动和布局不断变化。但我很困惑如何使这样的导航。 (最值得注意的是,当swipping上向左或向右做了中间页是成功的一半显示。)帮助?

You must have used the facebook android app. I want to implement the same navigation that the facebook is using like: on swipping left the menu is opened and swipping right the chat list is shown. And in the middle the activities and layouts keep on changing. But I am confused how to make such a navigation. (Most noticable thing is that the middle page is half shown when the swipping is done on left or right.) help?

推荐答案

您有两个不错的选择。


  1. 导航抽屉: http://developer.android.com/design/patterns /navigation-drawer.html

  2. 滑动抽屉: https://github.com/jfeinstein10/SlidingMenu

  1. Navigation Drawer: http://developer.android.com/design/patterns/navigation-drawer.html
  2. Sliding Drawer: https://github.com/jfeinstein10/SlidingMenu

您可以为您的使用情况多个导航抽屉。

You can make multiple navigation drawers for your use case.

这篇关于导航,Facebook的应用程序是使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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