Bug 1086981 - Part 6: Drop keyboard when clicking the menu button. r=lucasr

This commit is contained in:
Michael Comella 2014-11-04 04:02:13 -08:00
parent 8e768a61d9
commit b50c24aac6

View File

@ -345,6 +345,8 @@ public abstract class BrowserToolbar extends ThemedRelativeLayout
menuButton.setOnClickListener(new Button.OnClickListener() {
@Override
public void onClick(View view) {
// Drop the soft keyboard.
urlEditLayout.clearFocus();
activity.openOptionsMenu();
}
});