In the AndroidManifest.xml
:
<activity android:name="com.your.package.ActivityName"
android:windowSoftInputMode="stateHidden" />
or try
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
Please check this also
More Related Contents:
- Create Passcode view in Android
- Android How to adjust layout in Full Screen Mode when softkeyboard is visible
- How do I detect if software keyboard is visible on Android Device or not?
- Difference between adjustResize and adjustPan in android?
- How to show soft-keyboard when edittext is focused
- Disabling the fullscreen editing view for soft keyboard input in landscape?
- Soft keyboard open and close listener in an activity in Android
- How to adjust layout when soft keyboard appears
- adjustPan not preventing keyboard from covering EditText
- Use “ENTER” key on softkeyboard instead of clicking button
- Creating a SoftKeyboard with Multiple/Alternate characters per key
- Open soft keyboard programmatically
- HTML: Why does Android browser show “Go” instead of “Next” in keyboard?
- How can restrict my EditText input to some special character like backslash(/),tild(~) etc by soft keyboard in android programmatically
- Android EditText, soft keyboard show/hide event?
- How to move the layout up when the soft keyboard is shown android
- Android: how to make keyboard enter button say “Search” and handle its click?
- when using AlertDialog.Builder with EditText, the Soft Keyboard doesn’t pop
- Show entire bottom sheet with EditText above Keyboard
- Android adjustpan not working after the first time
- Only show number buttons on Soft Keyboard in Android?
- Get the height of virtual keyboard in Android
- Android Use Done button on Keyboard to click button
- Close/hide the Android Soft Keyboard with Kotlin
- AlertDialog with EditText, open soft keyboard automatically with focus on EditText doesn’t work
- Keyboard hides BottomSheetDialogFragment
- How to programmatically hide/disable emoticons on Android soft keyboard
- Android Hide Soft Keyboard from EditText while not losing cursor
- How to include suggestions in Android Keyboard
- How to change background color of key for android soft keyboard?