While Ride is in progress or Food is being delivered if we go back or press home then these apps shows these kind of small maps without having draw over other app permission ? How is this possible ?
Asked
Active
Viewed 570 times
2
-
1Possible duplicate of [How to implement a popup overlay that can be displayed over any other app in Android](https://stackoverflow.com/questions/15990049/how-to-implement-a-popup-overlay-that-can-be-displayed-over-any-other-app-in-and) – Morrison Chang Feb 20 '19 at 02:30
-
2Is it picture-in-picture feature? https://developer.android.com/guide/topics/ui/picture-in-picture – Ranjan Feb 20 '19 at 03:38
-
You can name it over lay , picture in picture etc it is just a service with UI – Haneet singh Chhabra Feb 20 '19 at 04:19
1 Answers
0
No special permission is required to achieve this. Just picture in picture mode can help you do this.
enterPictureInPictureMode(); in onUserLeaveHint()

NACHIKETA CHAKRABORTY
- 41
- 1
- 9