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 do I check in SQLite whether a table exists?
What is NetworkOnMainThread Exception?
How to convert DP to Pixel and Pixel to Dp?
How to Get bitmap from drawable: Android
How to start a new activity on button click
How can i comment inside xml file in android studio?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
What is the difference between match_parent and fill_parent?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
How to get a contact image using a phone number in android?
How to get screen size (width,height) in Android?
Explain Fragment Life Cycle
What is ANR in android?
FCM Not Receiving Notifications in Android - RRutors
How to Use Deprecated Handler() in Android - RRutors Guide
Permission denied for window type 2010 in Marshmallow device
What is ANR? How to avoid and resolve it?
What is "shared preferences" in Android ?
What happens next when the device switches between portrait and landscape?
How to check Android version?
How to validate email address in Android with Kotlin?
How to Exit android app on back pressed?
Open PDF in Google Drive with Intent in Android - RRutors
How to reduce APK package size?
How to save activity State in Android?
Android Studio project R can't find
Check List for Generate Signed APK Android
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What is the Different Between val and var in Kotlin?
What is Application?
Decompile APK Files: How to Get Source Code - RRutors Guide
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to stop EditText focus at Activity startup in Android?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to get an image resource by it's name in android?
What are Android Versions available?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
What is Android?
How to convert milli seconds to hours, minutes and seconds in Android?
How do I generate random numbers in Dart?