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"/>
Key Points to remember while develop the Android Application.
How to get a contact image using a phone number in android?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What is the Different Between val and var in Kotlin?
Permission denied for window type 2010 in Marshmallow device
What is Context?
FCM Not Receiving Notifications in Android - RRutors
Fix Android Emulator Kill Error When Running Your App
Extract Date and Time from Long Type Variable - RRutors
What is ANR in android?
Set Activity to Fullscreen Mode in Android - RRutors
Hide/Disable soft keyboard on Activity launch: Android
How to install/ uninstall apk by command line ADB
What happens next when the device switches between portrait and landscape?
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to get complete address from latitude and longitude?
What are the notifications available in android?
How to reduce APK package size?
How can i comment inside xml file in android studio?
How to find Android Device UDID or unique ID?
How do I generate random numbers in Dart?
How to avoid multiple button click at same time in android?
Open PDF in Google Drive with Intent in Android - RRutors
What is Android?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How to get screen size (width,height) in Android?
How to check Android version?
What is NetworkOnMainThread Exception?
What is Application?
How do I check in SQLite whether a table exists?
How to save activity State in Android?
Add Jar/Library Files as Dependency in Android Studio
How to Generate signed apk with android studio
How to Use Deprecated Handler() in Android - RRutors Guide
How to Get bitmap from drawable: Android
What is "shared preferences" in Android ?
How to convert milli seconds to hours, minutes and seconds in Android?
What is Android Fragments?
What is ANR? How to avoid and resolve it?
How to stop EditText focus at Activity startup in Android?