Installed the AppCompat library now and trying to add an icon to an ACToolbar:
Sub Activity_Create(FirstTime As Boolean)
Dim ACToolBarDark1 As ACToolBarDark
ACToolBarDark1.Initialize("ACToolBar")
ACToolBarDark1.LogoBitmap = LoadBitmap(File.DirAssets, "Test.ico")
This compiles fine with no warnings, but the icon doesn't show on the toolbar.
Tried with .png and .bmp images, but no success.
I looked at various examples, but couldn't get it to work.
Any suggestion how this should be done?
RBS
Sub Activity_Create(FirstTime As Boolean)
Dim ACToolBarDark1 As ACToolBarDark
ACToolBarDark1.Initialize("ACToolBar")
ACToolBarDark1.LogoBitmap = LoadBitmap(File.DirAssets, "Test.ico")
This compiles fine with no warnings, but the icon doesn't show on the toolbar.
Tried with .png and .bmp images, but no success.
I looked at various examples, but couldn't get it to work.
Any suggestion how this should be done?
RBS