I think the following may work
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
I’ve used it for this sort of thing before.
More Related Contents:
- How to make EditText not focused when creating Activity
- How to set focus on a view when a layout is created and displayed?
- download image from unformatted url [duplicate]
- How to make an Android device vibrate? with different frequency?
- Android/Java – Date Difference in days
- Android 5.0 – Add header/footer to a RecyclerView
- Get driving directions using Google Maps API v2
- Android java.lang.VerifyError?
- How do you use Intent.FLAG_ACTIVITY_CLEAR_TOP to clear the Activity Stack?
- How to group a 3×3 grid of radio buttons?
- How to register some URL namespace (myapp://app.start/) for accessing your program by calling a URL in browser in Android OS?
- Can I scroll a ScrollView programmatically in Android?
- How do I view my Realm file in the Realm Browser?
- Java doesn’t work with regex \s, says: invalid escape sequence
- How to catch a Firebase Auth specific exceptions
- Android – how to replace part of a string by another string?
- Convert object to JSON in Android
- Eclipse logcat debugging
- onRequestPermissionsResult not being called in dialog fragment
- How do I persist cookies when using HTTPUrlConnection?
- Android Row becomes Unclickable with Button
- How to listen for Firebase setValue completion
- How to update edittext whenever a quantity is added in android studio
- Value of type java.lang.String cannot be converted to JSONArray
- Random element from string array [closed]
- How Can I Access an SSL Connection Through Android?
- Regex to remove spaces between numbers only
- How to reference a File in raw folder in Android
- Android : Socket – java.net.SocketException: sendto failed: EPIPE (Broken pipe)
- Android Studio Error “Unsupported class file major version 61”