I am using the FAB from the new design support library by Google. I have screen with a long form and a FAB. I want the FAB disappear when soft keyboard opens. Cannot find a way to detect soft keyboard open. Is there any other option

I cannot set a listener to `EditText` as the are all contained in a different `Fragment`s and the on focus change listener is not available in another `Fragment`s.

I have implemented FAB in main `Activity` so I couldn't do hide key board listener for `EditText` focus listener can anyone please have a solution share with me.