Skip to content Skip to sidebar Skip to footer

How To Make View Change After Keyboard Open/close Event

From readings, I have the height of the soft keyboard with the onSizeChanged method. What I want to do is to display a list in place of the soft keyboard when it is closed, and rem

Solution 1:

you can implement onConfigurationChanged(Configuration) method in your activity. Also, to get this method called you should add information in your manifest file to specify in what situations the method should be called like that:

android:configChanges="keyboardHidden|orientation"

Look here for additional details.

Post a Comment for "How To Make View Change After Keyboard Open/close Event"