Home Toast Message doesn't overlay on floating window
Reply: 0

Toast Message doesn't overlay on floating window

Dayo Choul
1#
Dayo Choul Published in 2018-02-14 09:59:29Z

I've created a floating window added by WindowManager with type: TYPE_SYSTEM_ALERT.

The context as variable named "mContext" in my custom floating view is referred to getApplicationContext() and I use it to make a toast:

Toast.makeText(mContext, "Hello", Toast.LENGTH_LONG).show();

However the toast message is overlaid by my full-screen floating window; it should overlay on my floating window instead. How can I do it?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.30326 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO