I'm looking at @Alexander Stolte 's beautiful library. I don't quite understand what "type" of images I can use in tabs.
Do they have to be 512x512 images?
Can they be in color?
Can they be .ico or just .png?
For example, I wanted to use this 256x256 color png.
But it doesn't display it, a white square comes out.
B4X:
'I tried like this
AS_TabMenuAdvanced1.AddTab("Test",xui.LoadBitmap(File.DirAssets,"ico256_256.png"),xui.LoadBitmap(File.DirAssets,"UnSelectIco256_256.png"))
'and also like this
AS_TabMenuAdvanced1.GetTab(4).xTab.IconSelected = xui.LoadBitmap(File.DirAssets,"ico256_256.png")
Thanks to anyone who can clarify the matter for me and congratulations again to the author.
'I tried like this AS_TabMenuAdvanced1.AddTab("Test",xui.LoadBitmap(File.DirAssets,"ico256_256.png"),xui.LoadBitmap(File.DirAssets,"UnSelectIco256_256.png")) 'and also like this AS_TabMenuAdvanced1.GetTab(4).xTab.IconSelected = xui.LoadBitmap(File.DirAssets,"ico256_256.png")
Every time oyu made changes, don't forget to call AS_TabMenuAdvanced1.Refresh
if it does not solve your problem, please show me the problem in an example project, thank you.