android - Themes.xml not working on appcompat 23 -
i developing app used max api 21 , appcompat-v7:21.0.0 library. after migrating api 23 , appcompat same version, themes.xml don`t have effect on api 21 , above.
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="aaaactionbartheme" parent="@style/theme.appcompat.light"> <item name="android:actionbarstyle">@style/aaaactionbar</item> <item name="android:popupmenustyle">@style/aaapopupmenu</item> <item name="android:itemtextappearance">@style/aaapopupmenutextappearance</item> <item name="android:actionoverflowbuttonstyle">@style/aaapopupmenubuttonoverflow</item> <!-- support library compatibility --> <item name="actionbarstyle">@style/aaaactionbar</item> <item name="popupmenustyle">@style/aaapopupmenu</item> </style> <style name="aaaactionbar" parent="@style/widget.appcompat.light.actionbar.solid.inverse"> <item name="android:background">@color/action_bar</item> <item name="android:textcolor">@color/white</item> <!-- support library compatibility --> <item name="background">@color/action_bar</item> </style> <style name="aaapopupmenu" parent="android:widget.holo.light.listpopupwindow"> <item name="android:popupbackground">@color/action_bar</item> <!-- support library compatibility --> <item name="background">@color/action_bar</item> </style> <style name="aaapopupmenutextappearance"> <item name="android:textcolor">@color/white</item> </style> <style name="aaapopupmenubuttonoverflow" parent="android:style/widget.holo.actionbutton.overflow"> <item name="android:src">@drawable/ic_action_overflow</item> </style> </resources>
can me problem? thank help.
in appcompat 23 known solution change new toolbar extending appcompatactivity , set setsupportactionbar(toolbar)
Comments
Post a Comment