public void show(int y) {
   if (!isShown) {
     isShown = true;
     mRevealLayout.show(100, y, 1000);
     // event call back
     onOpenMenu();
   }
 }
 public View setupReveal(View view) {
   mRevealLayout = new RevealLayout(view.getContext());
   mRevealLayout.addView(view);
   hideView();
   return mRevealLayout;
 }
 public void hideView() {
   mRevealLayout.hide();
   isShown = false;
   // event call back
   onCloseMenu();
 }