Reputation: 12201
I have seen apps like Gamekiller
and Scramble Cheat
that shows partially over another app like a shadow and the touch events over them actually works over the background app.
Upvotes: 0
Views: 167
Reputation: 4420
You can add own view to screen (WindowManager.addView
). But in need permission SYSTEM_ALERT_WINDOW
.
Or, better, create custom dialog with custom LayoutParams
. Must important - set type
to TYPE_PHONE
or TYPE_SYSTEM_ALERT
.
It display over other app.
Upvotes: 0
Reputation: 486
NO don't use transparent background use a service like this example it explains it well and could take you in the right direction. http://www.piwai.info/chatheads-basics/
Or you could use standout. https://github.com/pingpongboss/StandOut
I haven't tried standout yet but it looks good.
Upvotes: 1