Answer the question
In order to leave comments, you need to log in
How to set different text color in actionbar title and tab?
I'm trying to set the colors I need through styles and colors.
<style name="AppTheme" parent="MyTheme.Base">
</style>
<style name="MyTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<resources>
<color name="colorPrimary">#FFFFB007</color>///цвет фона actionBar
<color name="colorPrimaryDark">#093948</color>///цвет фона statusBar
<color name="colorAccent">#FFFFB007</color>///цвет подчерка активного таба
<color name="secondary_text_default_material_dark">#7c7c7c</color>///цвет текста пассивного таба
<color name="text_frame">#093948</color>///цвет текста во фрагментах
</resources>
<color name="primary_text_default_material_dark">#fff</color>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question