在4.2.2 android上,工具栏的菜单图标和后退按钮颜色不会改变

在4.2.2 android上,工具栏的菜单图标和后退按钮颜色不会改变,android,android-toolbar,android-design-library,Android,Android Toolbar,Android Design Library,我有一个android应用程序,它在kitkat及以上版本的android上运行得非常好。我在安卓4.2.2上测试我的应用程序,我在我的应用程序中发现了这个设计问题。后退按钮和菜单溢出按钮的颜色不会变为白色。 以下是我在4.2.2手机版上的应用程序截图 这是我的style.xml <style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorPr

我有一个android应用程序,它在kitkat及以上版本的android上运行得非常好。我在安卓4.2.2上测试我的应用程序,我在我的应用程序中发现了这个设计问题。后退按钮和菜单溢出按钮的颜色不会变为白色。 以下是我在4.2.2手机版上的应用程序截图

这是我的style.xml

  <style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
    <item name="colorPrimary">@color/color_primary</item>
    <item name="colorPrimaryDark">@color/color_primary_dark</item>
    <item name="colorAccent">@color/red</item>
    <item name="android:windowBackground">@drawable/bg_img</item>
    <item name="drawerArrowStyle">@style/DrawerArrowStyle</item>


</style>

<style name="AppBaseTheme.NoActionBar">
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>

</style>
<style name="AppBaseTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />


<style name="AppBaseTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

@彩色/彩色原色
@颜色/原色\u深色
@颜色/红色
@可提取/背景图片
@样式/抽屉箭头样式
假的
真的
这是我的工具栏的实现

<android.support.design.widget.AppBarLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppBaseTheme.AppBarOverlay">

<android.support.v7.widget.Toolbar
    android:id="@+id/app_bar_main"
    android:layout_width="match_parent"
    android:layout_height="?attr/actionBarSize"
    android:background="?attr/colorPrimary"
    app:popupTheme="@style/AppBaseTheme.PopupOverlay" />

在清单im中,在活动上使用主题
@style/AppBaseTheme.NoActionBar

请告诉我哪里出了问题


谢谢。

您是否尝试将AppBarOverlay设置为xml工具栏上的主题?android:theme=“@style/AppBaseTheme.AppBarOverlay”是的,我也尝试过。。你不试试app:theme=“@style/AppBaseTheme.AppBarOverlay”是的,我也很累。。。app:theme或android:theme似乎都不起作用。您是否尝试将AppBarOverlay设置为xml工具栏上的主题?android:theme=“@style/AppBaseTheme.AppBarOverlay”是的,我也尝试过。。你不试试app:theme=“@style/AppBaseTheme.AppBarOverlay”是的,我也很累。。。无论是app:theme还是android:theme似乎都不起作用