fix search view size

This commit is contained in:
Bnyro 2022-07-31 23:17:46 +02:00
parent 5ef883ca67
commit 23f22f99bf

View File

@ -167,6 +167,7 @@ class MainActivity : AppCompatActivity() {
// stuff for the search in the topBar
val searchItem = menu.findItem(R.id.action_search)
searchView = searchItem.actionView as SearchView
searchView.setMaxWidth(Integer.MAX_VALUE)
searchView.setOnQueryTextListener(object : SearchView.OnQueryTextListener {
override fun onQueryTextSubmit(query: String?): Boolean {