Skip to content

Instantly share code, notes, and snippets.

@WrathChaos
Last active March 26, 2020 08:59
Show Gist options
  • Save WrathChaos/8069a6fee16473428a3f to your computer and use it in GitHub Desktop.
Save WrathChaos/8069a6fee16473428a3f to your computer and use it in GitHub Desktop.
How to prevent auto popping keyboard on Android? Article: https://freakycoder.com/android-notes-5-prevent-auto-popping-keyboard-38853e9837fd
// Prevent to auto popping keyboard
this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment