TabHost - I can't see icons

Fossy

Member
Licensed User
Longtime User
Hello guys:

I have a TabHost with 5 tabs with icons, like this:

futbol = LoadBitmap(File.DirAssets, "futbol.png")
futbol_trans = LoadBitmap(File.DirAssets, "futbol_trans.png")
...
...

TabHost1.AddTabWithIcon("Fútbol", futbol_trans, futbol,"FanClub.bal")
...
...

I have added the png files to Files tab and Images Files in layout designer, and app compiles without error and all OK, but in device I only can see 5 tabs with names only, I can't see the icons... why?.

Thanks!!!
 

Fossy

Member
Licensed User
Longtime User
Are you sure??..., in that case, exists any alternative?. I need to have icons in tabs.

Thanks!!.
 
Upvote 0

Fossy

Member
Licensed User
Longtime User
Yes, I have test it with earlier versions of Android..., in API > 14 can't see icons in tabs and it see very ugly.

Please, any alternative component or solution?.

Thanks!!
 
Upvote 0
Top