Shift the screen to right on click of menu; like facebook

前端 未结 3 2025
庸人自扰
庸人自扰 2021-02-02 04:34

In my application, I want to have behavior like facebook app wherein on click of icon I\'d like to shift the whole screen towards right and display some menus on the left as sho

相关标签:
3条回答
  • 2021-02-02 05:00

    I have not implemented it but give you an exact idea that you have to use fragment for this. Go through this link

    0 讨论(0)
  • 2021-02-02 05:10

    This UI Pattern is currently being referred to as Side Navigation and discussed in some detail here:

    http://www.androiduipatterns.com/2012/06/emerging-ui-pattern-side-navigation.html

    The article also links to several projects that have implemented this navigation:

    https://github.com/korovyansk/android-fb-like-slideout-navigation

    https://github.com/darvds/RibbonMenu

    https://bitbucket.org/jfeinstein10/slidingmenu/overview

    https://github.com/Gregadeaux/android-fly-in-app-navigation

    It is worth reading the article for its discussion about the issues with this kind of navigation also, though.

    0 讨论(0)
  • 2021-02-02 05:15

    This is the best that I've found https://github.com/DWorkS/ActionBarToggle because it's implementation is similar to DrawerLayout from google using ActionBarToggle. Although, it has a problem with open method but I wrote to its owner and he said that he will solve.

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