0

enter image description hereHi I am working with android.I had created a slider using the library https://github.com/jfeinstein10/SlidingMenu.

When I swipe left the content will load. Now I want to add a button which appears infront and can acts like a handler.is it possible with this library?? please help me, thanks in advance :)

here is the code I used

SlidingMenu menu = new SlidingMenu(this);

menu.setMode(SlidingMenu.LEFT);    
menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
menu.setShadowWidthRes(R.dimen.shadow_width);
menu.setShadowDrawable(R.drawable.shadow);
menu.setBehindOffsetRes(R.dimen.slidingmenu_offset);
menu.setFadeDegree(0.35f);
menu.attachToActivity(this, SlidingMenu.SLIDING_CONTENT);
menu.setSecondaryMenu(R.layout.slide);
Maxwell
  • 532
  • 2
  • 4
  • 20

0 Answers0