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/RubikDialogNewRecord.java
165 165
    if( window!=null )
166 166
      {
167 167
      window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
168
      window.setFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
169
      window.getDecorView().setSystemUiVisibility(RubikActivity.FLAGS);
168 170
      }
169 171

  
170 172
    dialog.setOnShowListener(new DialogInterface.OnShowListener()

Also available in: Unified diff