I'm new to Android and I need your help!
I love default tabWidget style, but I need white color in tab title.
This is what I have for now
I want "TAB1" and "TAB2" in white color.
I tried my own tabwidget style. Here's the code
<!-- styles.xml -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:tabWidgetStyle">@style/LightTabWidget</item>
</style>
<style name="LightTabWidget" parent="@android:style/Widget.TabWidget">
<item name="android:textColor">@color/tabTitle</item>
</style>
This will change title text color but it change all tab style
How I can change text color only? Without changing the rest?
Thanks for the help!
UPDATE I'm using tabHost. Is it possible to do what I need with it not with TabLayout?