I am defining the different colors in the Manifest but I have not found yet how to define the background color of the options list when I display the menu.
I'm using the example code of this thread: https://www.b4x.com/android/forum/threads/theme-colors.87716/
I only changed it adding:
I'm using the example code of this thread: https://www.b4x.com/android/forum/threads/theme-colors.87716/
I only changed it adding:
B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Activity.AddMenuItem3("", "refresh", LoadBitmapResize(File.DirAssets, "ic_cached_white_24dp.png", 32dip, 32dip, True), True)
Activity.AddMenuItem3("", "done", LoadBitmapResize(File.DirAssets, "ic_done_white_24dp.png", 32dip, 32dip, True), True)
' NEW LINES ADDED
Activity.AddMenuItem("Opcion 1", "OP1")
Activity.AddMenuItem("Opcion 2", "OP2")
Activity.AddMenuItem("Opcion 3", "OP3")
End Sub