Creating a system overlay window (always on top)

前端 未结 16 967
南方客
南方客 2020-11-21 07:07

I\'m trying to create an always-op-top button/clickable-image which stays on top of all the windows all the time.

The proof of concept is

  • here - Smar
16条回答
  •  悲哀的现实
    2020-11-21 07:34

    Found a library that does just that: https://github.com/recruit-lifestyle/FloatingView

    There's a sample project in the root folder. I ran it and it works as required. The background is clickable - even if it's another app.

提交回复
热议问题