开发者

Android - Black Screen after clicking BACK in an Activity with an AltertDialog after Search Activity

I have an Activity which displays an alert dialog priot to the content. Also a search activity is called before this activity.

Now when i press back on this activity i am lead to a black screen (which i assume is eighter because of the dialog [unl开发者_运维知识库ikely] or from the search activity). Only when i press BACK twice i get to the activity i was before.

How can i get rid of this?

Thank you.


This phenomenon was caused by the search activity. to avoid this i simply added android:noHistory="true" for the Search Activity in the Manifest.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜