Problem: I am facing an issue in my fragments. When i click on edit text input field softInput keyboard opens and while keyboard is open when i long press on edit text field it opens system action bar [copy,paste,select all]. After clicking on softInput done(IME action) button sofinput(Keyboard closes) but action bar still appears on the screen it does not closes or disappear. After clicking anywhere on screen Action bar still remains open.
So how to resolve this issue on "done" click of softinput(keyboard) my system actionBar should also closes.
i finally found the solution in edit text field.
edittext.clearFocus()
Action bar will disappear