I want to achieve the behavior shown in this image:
So that the floating view is on top of every activity in the app (and ONLY inside the app).
I don't want it to be on top of any other apps, so it's NOT a system overlay.
I did a lot or research online, and all the implementations I found define this view as TYPE_SYSTEM_OVERLAY or TYPE_APPLICATION_OVERLAY when initializing its layout params, and this requires the permission android.permission.SYSTEM_ALERT_WINDOW!
but I want it to be just a normal view inside my app.
Can this be achieved?
