Answer the question
In order to leave comments, you need to log in
How to change menu color in Toolbar?
There is a toolbar
<android.support.v7.widget.Toolbar
android:id="@+id/my_tool_bar"
app:titleTextColor="#fff"
android:background="@color/colorPrimary"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" />
<style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorPrimary">@color/colorPrimary</item>
</style>
Answer the question
In order to leave comments, you need to log in
<style name="MyTheme" parent="Theme.AppCompat.Light.NoActionBar">
...
<item name="actionOverflowButtonStyle">@style/MyOverflowButtonStyle</item>
</style>
<style name="MyOverflowButtonStyle" parent="Widget.AppCompat.ActionButton.Overflow">
<item name="android:tint">Твой цвет</item>
</style>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question