SyntaxFix
Write A Post
Hire A Developer
Questions
I hope this will work, I tried a lot of methods but this one worked for me in fragments. just put this line in onCreateview/init.
fragments
getActivity().getWindow().setSoftInputMode( WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);