B b4auser1 Well-Known Member Licensed User Longtime User Sep 14, 2014 #1 I tried this Objects\res\values\theme.xml B4X: <?xml version="1.0" encoding="utf-8"?> <resources> <!-- <color name="My_popupBackground_color">#ffffff</color> --> <color name="My_popupBackground_color">@android:color/white</color> <style name="MyTheme" parent="android:style/Theme.Holo"> <item name="android:popupBackground">@color/My_popupBackground_color</item> </style> </resources> and SetApplicationAttribute(android:theme,"@style/MyTheme") Application theme has changed , but androidopupBackground hasn't
I tried this Objects\res\values\theme.xml B4X: <?xml version="1.0" encoding="utf-8"?> <resources> <!-- <color name="My_popupBackground_color">#ffffff</color> --> <color name="My_popupBackground_color">@android:color/white</color> <style name="MyTheme" parent="android:style/Theme.Holo"> <item name="android:popupBackground">@color/My_popupBackground_color</item> </style> </resources> and SetApplicationAttribute(android:theme,"@style/MyTheme") Application theme has changed , but androidopupBackground hasn't
Erel B4X founder Staff member Licensed User Longtime User Sep 14, 2014 #2 Which type of popup menu are you showing? Upvote 0
B b4auser1 Well-Known Member Licensed User Longtime User Sep 14, 2014 #3 RSPopupMenu wraps the native Android PopupMenu (API 11+) and attaches a PopUpMenu to a view. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 15, 2014 #4 According to the answer here the popup menu style comes from the activity style: http://stackoverflow.com/questions/12636101/how-to-style-popupmenu There are other similar libraries that will allow you to change the colors more easily. Upvote 0
According to the answer here the popup menu style comes from the activity style: http://stackoverflow.com/questions/12636101/how-to-style-popupmenu There are other similar libraries that will allow you to change the colors more easily.