如何隐藏在最近的Andr​​oid列表最后一次活动的看法?使用更衣室屏幕实现 [英] How to hide last activity view in android recent list? Using a locker screen implementation

查看:121
本文介绍了如何隐藏在最近的Andr​​oid列表最后一次活动的看法?使用更衣室屏幕实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的更衣室屏幕它锁(显示在顶部的实现)在空闲时,X秒当前活动。 然而,视图更衣室活动点击后不显示在preVIEW形象的首页最近的按钮。

I am using an implementation of locker screen which locks (is displayed on top) the current activity when it is idle for X seconds. However the view for the locker activity is not displayed in the preview image after clicking the Home and Recent buttons.

我怎么能强迫使我的应用程序的视图空或在最近列表中显示我的衣柜看法? 我可以把我的活动可见的走了,但没有任何其他的解决办法?

How could I force to make my app's view blank or display my locker view in the recent list? I could set my activity visible to gone, but is there any other solution?

推荐答案

尝试属性,安卓noHistory =真正的的活动清单文件中的标签。

Try the attribute, android:noHistory="true" for the activity tag in the manifest file.

这篇关于如何隐藏在最近的Andr​​oid列表最后一次活动的看法?使用更衣室屏幕实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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