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.