mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Merge pull request #952 from Hovn/master
Set the searchview to occupy all Toolbar widths when it expands
This commit is contained in:
commit
3b715d58cf
1 changed files with 1 additions and 0 deletions
|
@ -559,6 +559,7 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
|||
MenuItem searchViewMenuItem = menu.findItem(R.id.mi_search);
|
||||
|
||||
_searchView = (SearchView) searchViewMenuItem.getActionView();
|
||||
_searchView.setMaxWidth(Integer.MAX_VALUE);
|
||||
|
||||
_searchView.setQueryHint(getString(R.string.search));
|
||||
if (_prefs.getFocusSearchEnabled() && !_isRecreated) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue