forked from organicmaps/organicmaps
Remove focus from search box.
This commit is contained in:
parent
a3639e65b0
commit
585be2f06f
1 changed files with 6 additions and 0 deletions
|
@ -566,6 +566,12 @@ public class SearchActivity extends MapsWithMeBaseListActivity implements Locati
|
|||
{
|
||||
// Hide keyboard when user starts scroll
|
||||
InputUtils.hideKeyboard(mSearchBox);
|
||||
|
||||
// Hacky way to remove focus from only edittext at activity
|
||||
mSearchBox.setFocusableInTouchMode(false);
|
||||
mSearchBox.setFocusable(false);
|
||||
mSearchBox.setFocusableInTouchMode(true);
|
||||
mSearchBox.setFocusable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue