0

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 setBackgrounddrawable().

But how can I set the pattern image on top of background image?
Can anyone please suggest?

4

2 回答 2

0

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

于 2013-09-02T08:51:07.143 回答
0

This may help you "http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/" ,this example having types of action bars.

于 2013-09-02T08:59:03.833 回答