As I understood android: windowSoftInputMode = "stateUnchanged" will remember the state.
windowSoftInputMode = "stateUnchanged"
Example: The keyboard is open, the application went to