Reputation: 1365
Sorry for my bad English.
I need to make an native SDK to show an overlay popup window to show a message on the top of the current activity.
The window will show about several seconds and then dismiss.
When the window is showing, the content behind needs to be active.
I try several methods, such as startActivity
with not touchable and popupWindow.showAtLocation
, but no one can act as the same behavior like Google Play Service-overlay window when you log in using Google account in applications.
I cannot get the current activity context or the current view since I don't have the GET_TASK
permission.
Google Play popup overlay window Screenshot:
I need advise, thanks.
Upvotes: 0
Views: 274
Reputation: 838
I think you need to create a showCase for your app.
This library will help you .
if you want more customization
. you have to create a Service. And read this question if you want an overlay.
Upvotes: 1