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/RubikDialogSetName.java
189 189
    if( window!=null )
190 190
      {
191 191
      window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
192
      window.setFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
193
      window.getDecorView().setSystemUiVisibility(RubikActivity.FLAGS);
192 194
      }
193 195

  
194 196
    dialog.setOnShowListener(new DialogInterface.OnShowListener()

Also available in: Unified diff