vendredi 29 juillet 2016

AppCompat menu

i'm using the last version of AppCompat library 3.20

Code:
  Sub Activity_CreateMenu(Menu As ACMenu)
sv.Initialize2(
"Search", sv.THEME_DARK)
sv.IconifiedByDefault =
True

'Clear the menu
Menu.Clear

'Add a menu item and assign the SearchView to it
si = Menu.Add(1, 1, "Item1", Null)
si =
Menu.Add(2, 2, "Item2", Null)
si =
Menu.Add(3, 3, "Item3", Null)
si =
Menu.Add(4, 4, "Item4", Null)
si =
Menu.Add(5, 5, "Item5", Null)
si.SearchView = sv
End Sub
i...

AppCompat menu

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2a5kmFz
via IFTTT

Aucun commentaire:

Enregistrer un commentaire