mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1086981 - Part 6: Drop keyboard when clicking the menu button. r=lucasr
This commit is contained in:
parent
8e768a61d9
commit
b50c24aac6
@ -345,6 +345,8 @@ public abstract class BrowserToolbar extends ThemedRelativeLayout
|
|||||||
menuButton.setOnClickListener(new Button.OnClickListener() {
|
menuButton.setOnClickListener(new Button.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
|
// Drop the soft keyboard.
|
||||||
|
urlEditLayout.clearFocus();
|
||||||
activity.openOptionsMenu();
|
activity.openOptionsMenu();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user