Android Facebook style slide

前端 未结 25 1976
粉色の甜心
粉色の甜心 2020-11-22 03:23

The new Facebook application and its navigation is so cool. I was just trying to see how it can be emulated in my application.

Anyone has a clue how it can be achie

相关标签:
25条回答
  • 2020-11-22 04:01

    In June 2012, Google has added "templates" in the Eclipse ADT plugin, and there is a template called "master/detail flow" which does exactly that (based on fragmets)

    0 讨论(0)
  • 2020-11-22 04:02

    Here is yet another (very nice) open source library!

    The good feature about this one is that it is easily integrated with ActionBarSherlock.

    Here's the github project link

    Here's the Google Play download link

    0 讨论(0)
  • 2020-11-22 04:02

    This is simple and elegant: https://github.com/akotoe/android-slide-out-menu.git

    Snapshot:

    enter image description here

    0 讨论(0)
  • 2020-11-22 04:02

    The Facebook Android app is possibly build with Fragments. The menu is one Fragment, the in-depth Activity (Newsfeed/Events/Friends etc) is the other Fragment. Basically a tablet 'master & detail' layout on a phone.

    0 讨论(0)
  • 2020-11-22 04:03

    I think facebook app is not written in native code (by native code I mean, using layouts in Android) but they have used webview for it and have used some javascript ui libraries like sencha. It can be easily achieved using sencha framework.

    enter image description here

    0 讨论(0)
  • 2020-11-22 04:03

    Did a roundup of an existing implementation and turned it into a library project plus example app. Also added XML parsing as well as autodetection of a possibly present actionbar, so it works with the native as well as a support action bar such as ActionBarSherlock.

    This one also slides the action bar away!

    The whole thing is a library project together with an example app and is described over at A sliding Menu for Android like google and facebook apps. Thanks to scirocco for the initial idea and code!

    SlideMenu on Gingerbread SlideMenu on ICS with ActionBar

    0 讨论(0)
提交回复
热议问题