开发者

How to draw a Drawable over a View

I have several Views in my Activity. I want to draw a Drawable over these views. The Drawable should be on top of the views (that means it hides the views below it. The Drawable may appear over sev开发者_运维知识库eral views (that is I can't just draw it in one view). How can this be done?

Thank you


The FrameLayout allows you to have overlapping views. This is often used if you have some sort of background, with widgets over it.


Maybe you could use a Dialog or view with Dialog Theme with your drawable as the background?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜