I have seen some posts regarding transparent menu.
I am able to change the background color of menu using the code given in the following link - Customizing the Options Menu Background
When I tried to change the background as transparent in the same code like given below, its not working
view.setBackgroundResource(R.drawable.full_trans_bg);
instead of a normal image I have tried the transparent image, but its not working.
I just want to change the background color alone not the rest. Bcas I know to get this transparent background by inflating a new layout in the onCreateOptionsMenu() but in this case I want to do everything manually, which is not a motive.
Thanks in advance.