title: Show / hide Android softkeyboard on fragment replace
body: <p>I have an Activity with a fragment. Let's say a list fragment with a list of things. Now I want to let the user add a thing, so I use the FragmentManager to replace the list fragment with an insert fragment which has an EditText. The EditText has the focus and the cursor is blinking. But the softkeyboard doesn't open.
  Same thing other way round: if the user has entered the new thing and added it to the list, I replace the insert fragment back with a list fragment. But although there is no EditText anymore, the keyboard doesn't close.</p>
  
  <p>What is the correct way to implement this? I can't believe that I have to show and hide the keyboard manually on all transitions?! </p>