SlidingRootNav icon indicating copy to clipboard operation
SlidingRootNav copied to clipboard

Notification Bar isn't hiding when drawer is open

Open abhikommen opened this issue 8 years ago • 0 comments

I tried your method. But its also changing the status bar color of main activity permanently.

    DragListener dragListener = new DragListener() {
          @Override
          public void onDrag(float progress) {
              progress= .5f;
              Window window = getWindow();
              window.setStatusBarColor(getResources().getColor(R.color.white));
          }
      };
      new SlidingRootNavBuilder(this)
              .withMenuLayout(R.layout.navigation_drawer)
              .withToolbarMenuToggle(toolbar)
              .addDragListener(dragListener)
              .addDragStateListener()
              .inject();

abhikommen avatar Mar 03 '18 19:03 abhikommen