sliding menu using jfeinstein10 library

前端 未结 2 1251
[愿得一人]
[愿得一人] 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.

提交回复
热议问题