Hi, @corwin42
I have an issue. ACSearchView width is not 100%. Here is my code:
For the output check screenshot attached.
How can I change the width?
I have an issue. ACSearchView width is not 100%. Here is my code:
B4X:
Sub Activity_CreateMenu(Menu As ACMenu)
SearchBar.Initialize2("Search", SearchBar.THEME_DARK)
SearchBar.QueryHint = "Search for stores"
SearchBar.IconifiedByDefault = True
Menu.Clear
MenuItemHelper = Menu.Add(0,0,"Search",FontToBitmap(Chr(0xE8B6),True,35,Colors.White))
MenuItemHelper.ShowAsAction = MenuItemHelper.SHOW_AS_ACTION_ALWAYS
MenuItemHelper.SearchView = SearchBar
End Sub
For the output check screenshot attached.
How can I change the width?
Last edited: