当finish()对话框活动时显示的应用名称 [英] App name displayed when finish() Dialog Activity

查看:116
本文介绍了当finish()对话框活动时显示的应用名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过指纹身份验证对话框活动保护我的应用程序的安全,但可以,但是如果我选择关闭对话框,则会发生以下情况:

I want to secure my app with a fingerprint authentication dialog activity, it works, but if I choose to close the dialog here is what happens :

如果我 finish()它在屏幕上闪烁的活动,但仍然很烦人。
我正在使用 android:theme = @ style / Theme.AppCompat.Light.Dialog 主题。

If I finish() the activity it flashes on the screen but it's still annoying. I am using android:theme="@style/Theme.AppCompat.Light.Dialog" theme.

有什么方法可以防止它弹出吗?

Is there any way to prevent this from poping up ?

推荐答案

实际上我只是想出了原因。这是因为我使用的是 AppCompactActivity 。使用简单的活动解决了该问题。

Actually I just figured out why. It's because I was using AppCompactActivity. Using a simple Activity fixed the problem.

这篇关于当finish()对话框活动时显示的应用名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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