sliding menu using jfeinstein10 library

前端 未结 2 1239
[愿得一人]
[愿得一人] 2020-12-29 15:30

I created a sample application to test how sliding menu works. Shown below in the screenshot is what i get as of now. But when I click on the categories button (shown in ima

相关标签:
2条回答
  • 2020-12-29 15:42

    It's a bit late, but still let me post my answer in case it will help someone in future. If you want to show another menu you can use

    setMode(SlidingMenu.LEFT_RIGHT);
    setSecondaryMenu(R.layout.yourSecondMenu);
    

    and in your button click

    showSecondaryMenu(true);
    

    and perform your actions in that class.

    0 讨论(0)
  • 2020-12-29 15:56

    SlidingMenu does NOT do this, zomato uses a custom implementation.

    SlidingMenu will let you have a menu on the left and the right, but not two on either side.

    I would look at using a view pager or a custom implementation. EitherWay I don't know of anything out of the box to do this. I might be worth looking at Android Views for inspiration.

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