Allow search view to be full width of the screen in landscape.

Fixes #10299
Closes #10321
This commit is contained in:
Fumiaki Yoshimatsu
2020-12-19 15:57:14 -05:00
committed by Greyson Parrelli
parent f3096cc24c
commit 76a0e5c851
2 changed files with 3 additions and 0 deletions

View File

@@ -1098,6 +1098,8 @@ public class ConversationParentFragment extends Fragment
}
});
searchView.setMaxWidth(Integer.MAX_VALUE);
if (isSearchRequested) {
if (searchViewItem.expandActionView()) {
searchViewModel.onSearchOpened();