Changing the color of the background menu in Android

The menu icons of my application where not displayed on my real Android device, so I ended up changing the menu background color, before coming up with a better approach.

Note: this post is only about changing the menu background color. If you want to change other things like the text color, check this stackoverflow post.

in [PROJECT_HOME]/res/values/styles.xml:

<?xml version="1.0" encoding="utf-8"?>
   <style name="MyTheme" parent="android:Theme">
      <item name="android:panelFullBackground">@android:color/darker_gray</item>

In AndroidManifest.xlm:




About lkubaski

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: