Sticky immersive mode disabled after soft keyboard shown
问题 I have an app that needs to be full screen most of the time. I know that if an alert is shown or other window is displayed, over the top of the activity window, full screen is temporarily removed. Unfortunately, when a soft keyboard is shown for an EditText or something, when the user has finished with the keyboard, full screen immersive mode is not restored. Any idea how this can be achieved? 回答1: Taken from this sample app by Google, you need to append this to the end of your activity,