Well there are two options to change the tab text label color...
Take a look at the documentation for the Android TextView:
TextView | Android Developers.
You can see that there are two
setTextColor methods:
1) public void setTextColor (int color)
2) public void setTextColor (ColorStateList colors)
Updating TabHostExtras to use the first method would be quick and simple BUT i'm sure that the tab text labels would then display in whatever color is set in all states of the tab.
That is - the text color wouldn't change when the tab was selected or not selected.
So ideally i'd update TabHostExtras to use the second method.
To do that the developer would have to pass a ColorStateList object to TabHostExtras, B4A has no support for the ColorStateList object so i'd have to create a wrapper class within TabHostExtras so that the developer could create a ColorStateList object within B4A.
Here's the documentation for the Android ColorStateList class:
ColorStateList | Android Developers.
You can see it's not very complicated but it's also not well documented - there's an XML based example but no Java based example.
If i could find some good Java based examples/tutorials i could probably get the ColorStateList wrapper coded and add the new method to TabHostExtras but i'm busy with other things and won't have time to spend on this for the time being.
It's on my list of things to do though so no doubt i'll get it done
sometime..!
Martin.