Ok, so i have to add just “NoActionBar”. I will tryIf you want it to be white then set the style parent to Theme.AppCompat.Light.NoActionBar
Examples: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/#post-505901
If you want it to be white then set the style parent to Theme.AppCompat.Light.NoActionBar
Examples: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/#post-505901
Can you run this example and post a screenshot (it is not the same as the top example): https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/#post-509530 ?
I noticed that you added the MenuItem with a Java function.So you need to compare it to your project.
Activity.AddMenuItem("First","First")
At this point i didn't understand what is this :That's not correct.
Sub Activity_CreateMenu(Menu As ACMenu)
Menu.Clear
Menu.Add(0, 0, "Overflow1", Null)
Menu.Add(0, 0, "Overflow2", Null)
Menu.Add(0, 0, "Overflow3", Null)
Dim item As ACMenuItem = ACToolBarLight1.Menu.Add2(0, 0, "cart", Null)
item.ShowAsAction = item.SHOW_AS_ACTION_ALWAYS
UpdateIcon("cart", AddBadgeToIcon(cartBitmap, badge))
End Sub
#If Java
public boolean _onCreateOptionsMenu(android.view.Menu menu) {
if (processBA.subExists("activity_createmenu")) {
processBA.raiseEvent2(null, true, "activity_createmenu", false, new de.amberhome.objects.appcompat.ACMenuWrapper(menu));
return true;
}
else
return false;
}
#End If
Bad news ahaha.This is code that you need to add when using AppCompat library and menus. It has nothing to do with the icon colors.
It solved putting the ACToolbarLight1 Theme to DARK, this made my dots whitePost your manifest editor code if you don't find the problem.