I have a FragmentActivity using a ViewPager to serve several fragments. Each is a ListFragment with the following layout:
FragmentActivity
ViewPager
ListFragment
This code works for fragments:
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);