Ich versuche Überlaufmenü Symbolfarbe der Symbolleiste zu ändern, die wie folgt lautet: -Überlauf Menüsymbol Farbe wird nicht für Android ändern <21
<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolbar_actionbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/CustomPopup"
app:theme="@style/MyCustomToolBarTheme">
</android.support.v7.widget.Toolbar>
Die beiden speziellen Wünsche erfüllen: -
<style name="MyCustomToolBarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:textColorSecondary">@android:color/white</item>
</style>
<style name="CustomPopup" parent="ThemeOverlay.AppCompat.Light">
<item name="android:textColorSecondary">@android:color/white</item>
</style>
Ich kann Titel/Menü Symbolfarbe auch ändern. Aber das Überlaufsymbol Farbe ist immer schwarz.Ich habe sogar versucht, benutzerdefinierte Symbol, das auch nicht funktioniert.
Die Symbolfarbe wird durch 'colorControlNormal' definiert, also überschreiben Sie diese. (Es zeigt auf 'android: textColorPrimary' in dunklen Themen und' android: textColorSecondary' in hellen Themen.) –