There are 2 Edit text boxes in my fragment.Whenever this fragment is loaded by any activity the soft-keyboard appears on the screen thus covering half of the tablet screen.I want to hide the soft keyboard whenever my fragment is loaded by any activity.The soft-keyboard should appear only on clicking or tapping the edit text boxes.
Share
Padma’s comment will prevent the soft keyboard from EVER coming up in the application, which it doesn’t sound like you want since you have EditText’s that need to get their input from somewhere.
You could just close the soft keyboard for whichever EditText is on that view when it’s loading: