Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is clearly a problem that a lot of programmers have and to which Google has yet to provide a satisfactory, supported solution.</p> <p>The setMenuBackground() hack which Abhay Kumar and Nik Reiman posted is a good start but it either crashes or does not work on Android 2.3.</p> <p>Please see my answer (Louis Semprini) in this stackoverflow question for a better commented and more refined hack that works on 2.1, 2.2, and 2.3 (and that should do no harm on 3.X, though we can never guarantee this):</p> <p><a href="https://stackoverflow.com/questions/2944244/change-the-background-color-of-the-options-menu/8475357#8475357">How to change the background color of the options menu?</a></p> <p>Also, here are many other resources you may find helpful for this question:</p> <p><a href="https://stackoverflow.com/questions/2719173/change-background-color-of-android-menu">Change background color of android menu</a></p> <p><a href="https://stackoverflow.com/questions/1593529/android-customize-applications-menu-e-g-background-color">Android: customize application&#39;s menu (e.g background color)</a></p> <p><a href="http://www.macadamian.com/blog/post/android_-_theming_the_unthemable/" rel="nofollow noreferrer">http://www.macadamian.com/blog/post/android_-_theming_the_unthemable/</a></p> <p><a href="https://stackoverflow.com/questions/568533/android-menuitem-toggle-button">Android MenuItem Toggle Button</a></p> <p><a href="https://stackoverflow.com/questions/3217886/is-is-possible-to-make-the-android-options-menu-background-non-translucent">Is it possible to make the Android options menu background non-translucent?</a></p> <p><a href="http://www.codeproject.com/KB/android/AndroidMenusMyWay.aspx" rel="nofollow noreferrer">http://www.codeproject.com/KB/android/AndroidMenusMyWay.aspx</a></p> <p><a href="https://stackoverflow.com/questions/5621609/setting-the-menu-background-to-be-opaque">Setting the menu background to be opaque</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload