如何在Android的第二后隐藏图像 [英] how to hide image after a second in android
本文介绍了如何在Android的第二后隐藏图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在Android应用程序中第二个或一定时间后隐藏的形象?
谢谢
Is there any way to hide a image after a second or given time in android application? thank you
推荐答案
发布延迟的消息发送到处理程序
,基本上做:
post a delayed message to a Handler
that essentially does:
ImageView.setVisibility(View.INVISIBLE)
这篇关于如何在Android的第二后隐藏图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文