Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Commit eb0d25f

Browse files
authored
Merge pull request #2134 from divyanshub024/fix-2133
[IMPROVEMENT] Set searchView width to max in ChatRoomFragment
2 parents cf67aa2 + 1910fc8 commit eb0d25f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • app/src/main/java/chat/rocket/android/chatroom/ui

app/src/main/java/chat/rocket/android/chatroom/ui/Menu.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ private fun ChatRoomFragment.setupSearchMessageMenuItem(menu: Menu, context: Con
3838

3939
(searchItem.actionView as? SearchView)?.let {
4040
// TODO: Check why we need to stylize the search text programmatically instead of by defining it in the styles.xml (ChatRoom.SearchView)
41+
it.maxWidth = Integer.MAX_VALUE
4142
stylizeSearchView(it, context)
4243
setupSearchViewTextListener(it)
4344
if (it.isIconified) {

0 commit comments

Comments
 (0)