java - Android how change background options menu -
i have trouble! options menu (popup menu) background doesn't change.
my code style:
<style name="apptheme" parent="appbasetheme"> <item name="android:popupmenustyle">@style/popupmenu</item> </style> <style name="popupmenu" parent="@android:style/widget.holo.listpopupwindow"> <item name="android:popupbackground">@drawable/menu_dropdown_panel </style>
and generate background image
http://i.stack.imgur.com/ukdtk.png
but background still has dark color
there easy way alter colors in actionbar utilize actionbar generator , re-create paste file in res folder , alter theme in android.manifest file.
java android android-layout
No comments:
Post a Comment