App name displayed when finish() Dialog Activity

旧街凉风 提交于 2019-12-24 07:07:14

问题


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 :

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 ?


回答1:


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



来源:https://stackoverflow.com/questions/45017988/app-name-displayed-when-finish-dialog-activity

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!