Project

General

Profile

« Previous | Next » 

Revision e365b6c2

Added by Leszek Koltunski about 4 years ago

Make the keyboard visible again

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
      window.getDecorView().setSystemUiVisibility(RubikActivity.FLAGS2);
194 193
      }
195 194

  
196 195
    dialog.setOnShowListener(new DialogInterface.OnShowListener()
src/main/java/org/distorted/main/RubikActivity.java
72 72
                                   | View.SYSTEM_UI_FLAG_FULLSCREEN
73 73
                                   | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
74 74

  
75
    public static final int FLAGS2=  View.SYSTEM_UI_FLAG_LAYOUT_STABLE
76
                                   | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
77

  
75 78
    private boolean mJustStarted;
76 79
    private FirebaseAnalytics mFirebaseAnalytics;
77 80
    private static int mScreenWidth, mScreenHeight;

Also available in: Unified diff