Android-制作吐司点击 [英] Android- Making Toast clickable

查看:159
本文介绍了Android-制作吐司点击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要让敬酒点击能或将有可点击的按钮,但行为像​​烤面包一个UI元素。
它不应该在UI线程像烤面包运行。
它不应该停止或覆盖当前的用户活动,消息应该像可点击按钮面包和消失,但作为敬酒用户应该能够访问后台正在进行的UI项。

I want to make toast click able or a UI element which will have clickable button but behaves like toast. It should not run on UI thread like toast. It should not halt or overlay current user activity, message should come like toast with clickable button and vanish but as toast user should be able to access background ongoing UI item.

如果任何人有关于如何实现这一点请跟我分享一下的想法。

If any one has any idea about how to achieve this pls share with me.

推荐答案

我相信这是你要找的内容:

I believe this is what you're looking for:

<一个href=\"http://developer.android.com/reference/android/widget/PopupWindow.html\">http://developer.android.com/reference/android/widget/PopupWindow.html

这篇关于Android-制作吐司点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆