例如,尝试这样的事情:
<style name="Theme.MyAppTheme" parent="@style/Theme.Holo.Light"> <item name="popupMenuStyle">@style/PopupMenu.MyAppTheme</item></style>
然后在样式本身上:
<style name="PopupMenu.MyAppTheme" parent="@style/Widget.Holo.Light.ListPopupWindow"> <item name="android:popupBackground">@drawable/popup_menu_bg_color</item></style>
这是通过ActionBarStyleGenerator和开发人员站点上的一些旧引用完成的。


![如何将Android PopupMenu的背景设置为白色[重复] 如何将Android PopupMenu的背景设置为白色[重复]](http://www.mshxw.com/aiimages/31/507474.png)
