1

Can i make the menu transparent(make the white not visible)

I created an xml for the menu.

enter image description here

Here i added the image as

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:id="@+id/done"
         android:icon="@drawable/base"
           />
</menu>
droid kid
  • 7,559
  • 2
  • 31
  • 37
  • 2
    http://stackoverflow.com/questions/1593529/android-customize-applications-menu-e-g-background-color – Zelimir May 18 '11 at 10:29

2 Answers2

1

If it is a popup window, use

popupWindow.setBackgroundDrawable(null)

This works like charm

Aziz Shaikh
  • 15,647
  • 11
  • 58
  • 78
Harry
  • 11
  • 1
0

You probably can use:

android:background="@android:color/transparent"

As described here: How to make a ListView transparent in Android?

Community
  • 1
  • 1
neteinstein
  • 17,327
  • 11
  • 90
  • 120