code: public void openDrawer() {
          if (drawerLayout != null && sliderLayout != null) {
              if (drawerGravity != 0) {
                  drawerLayout.openDrawer(drawerGravity);
              } else {
                  drawerLayout.openDrawer(sliderLayout);
              }
          }
      }
docs: Open the drawer