开发者

Android: how to make *truly* transparent activity SwipePad style?

So yes, I know how to make my Activity look transparent (http://stackoverflow.com/questions/2176922/how-to-crea开发者_Go百科te-transparent-activity-in-android), but I want the user being able to interact with what ever screen they are (for example YouTube), like done in SwipePad. Now I can make it transparent, but the user can't do anything before exiting my activity.

I know this is possible as it's already done in SwipePad, but how?


Well, the thing I was looking wasn't a transparent activity - it was a system overlay. More info here: Creating a system overlay window (always on top)


I think you can take a look at FrameLayout or SurfaceView. There's a high chance SurfaceView is the answer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜