By default, Android will automatically assign initial focus to the EditText or focusable control in started activity . It naturally follows that the InputMethod (typically the soft keyboard) will respond to the focus event by showing itself. add in Activity oncreate method before setContentView() method getWindow().setSoftInputMode( or add below code Manifest file to which activity we need to hide keyboard <activity
To hide Keyboard in Android we can do any of below way
WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN
);
android:name=".MyActivity"
android:windowSoftInputMode="stateAlwaysHidden"/>
How to validate email address in Android with Kotlin?
Open PDF in Google Drive with Intent in Android - RRutors
How to get an image resource by it's name in android?
How to Get bitmap from drawable: Android
How to avoid multiple button click at same time in android?
What happens next when the device switches between portrait and landscape?
What is ANR in android?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
What is the difference between match_parent and fill_parent?
What is Application?
How to start a new activity on button click
Check List for Generate Signed APK Android
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
How to convert milli seconds to hours, minutes and seconds in Android?
Add Jar/Library Files as Dependency in Android Studio
How do I generate random numbers in Dart?
How to reduce APK package size?
How to copy database from assets folder in android using kotlin
What is "shared preferences" in Android ?
How To Set Text Color Programmatically Android TextView?
What are Android Versions available?
Invoke-customs are only supported starting with android 0 --min-api 26
Hide/Disable soft keyboard on Activity launch: Android
What is NetworkOnMainThread Exception?
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to find Android Device UDID or unique ID?
Fix Play Store Rejection Due to SMS Permission - RRutors
What is Android Fragments?
FCM Not Receiving Notifications in Android - RRutors
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Decompile APK Files: How to Get Source Code - RRutors Guide
Explain Fragment Life Cycle
Extract Date and Time from Long Type Variable - RRutors
What is the Different Between val and var in Kotlin?
How to check Android version?
How can i comment inside xml file in android studio?
How to install/ uninstall apk by command line ADB
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to get screen size (width,height) in Android?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.