Wenn ich versuche, die Farbe der Navigationsschublade zu ändern, ändert nur der Hamburger die Farbe, der Pfeil behält ihre ursprüngliche Farbe bei. Sie können es hier sehen - ActionBarDrawerToggle v7 Pfeilfarbe
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/app_background</item>
<item name="android:dropDownListViewStyle">@style/DropDownListViewStyle</item>
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primary_dark</item>
<item name="colorAccent">@color/accent</item>
<item name="android:textColor">@color/primary_text</item>
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>
</style>
<style name="DrawerArrowStyle" parent="@style/Widget.AppCompat.DrawerArrowToggle">
<item name="spinBars">true</item>
<item name="color">@android:color/holo_red_dark</item>
</style>
Wenn ich Eltern Thema ändern, um Theme.AppCompat.Light Pfeil ihre Farbe schwarz ändert. Das folgende Widget wird verwendet: android.support.v7.app.ActionBarDrawerToggle; android.support.v7.widget.Toolbar;
Was mache ich falsch?
Mögliches Duplikat von [Farbe des animierten ActionBarDrawerToggle in ActionBar] (http://stackoverflow.com/questions/27250915/color-of-animated-actionbarrdrawertoggle-in-actionbar) – Sanf0rd
Ich habe geantwortet, wie man es programmatisch auf eine andere Frage macht (http://stackoverflow.com/questions/27250915/color-of-animated-actionbardrawertoggle-in-actionbar/40164200#40164200). Bitte markieren Sie diese Frage als doppelt. – Sanf0rd