向上按键模糊不清,溢出菜单错位,如图

但是这种错误,在绿色守护,SegmentFault,甚至是我用来提取向上按键的Material Design里都没有,不管怎样修改,Overflow Menu都会错位,不管怎样更换图标,向上按键都会模糊不清
我的styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MyDark" parent="Theme.AppCompat">
</style>
<style name="MyTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/color_primary</item>
<item name="colorPrimaryDark">@color/color_primary_dark</item>
<item name="colorAccent">@color/color_accent</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="drawerArrowStyle">@style/ToolbarStyle.DrawerArrowToggle</item>
</style>
<style name="MyDarkActionBar" parent="Theme.AppCompat.Light.DarkActionBar">
</style>
<style name="MyDialog" parent="Theme.AppCompat.Dialog">
</style>
<style name="MyLightDialog" parent="Theme.AppCompat.Light.Dialog">
</style>
<style name="ToolbarStyle" parent="">
<item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
<item name="theme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
</style>
<style name="ToolbarStyle.DrawerArrowToggle" parent="Base.Widget.AppCompat.DrawerArrowToggle">
<item name="color">@android:color/white</item>
</style>
</resources>
我的新建菜单
return super.onCreateOptionsMenu(menu);
还有我的设置向上按键
mToolbar.setNavigationIcon(R.drawable.ic_back_white);
以下是正常运行的应用截图

求解
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...