user2702700 user2702700 - 4 months ago 9
Android Question

How to create a custom ActionBar with a background and a pattern image?

I have to create an ActionBar with a background and another image on top of the background (with opacity) which displays like a pattern.

I have found the way to set the background image for my ActionBar, by using


But how can I set the pattern image on top of background image?

Can anyone please suggest?


A great SO Post for making a custom action bar. To set the opacity, use View.setAlpha(float) 0f to 1f.