Project

General

Profile

« Previous | Next » 

Revision ffd68f35

Added by Leszek Koltunski over 3 years ago

Make it so that the Navigation Bar does not re-appear when we pop up a DialogFragment.

Now there's noly 1 case when it still reappears: it's when we pop up a PopupWindow.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogSolved.java
101 101
    if( window!=null )
102 102
      {
103 103
      window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
104
      window.setFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
105
      window.getDecorView().setSystemUiVisibility(RubikActivity.FLAGS);
104 106
      }
105 107

  
106 108
    dialog.setOnShowListener(new DialogInterface.OnShowListener()

Also available in: Unified diff