I want to change only the AppBar text color, but in the Theme Editor (I use Android Studio) I can only change textColorPrimary
(it changes AppBar text color but also the LargeText color).
I can change only textColorPrimary:
Now I change the text color like this:
style.xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>
activity.xml
...
<android.support.design.widget.AppBarLayout
...
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<android.support.v7.widget.Toolbar
...
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
...
</android.support.design.widget.AppBarLayout>
Is it possible to change text color in my AppTheme in style.xml
?