更新时间:2023-01-23 21:11:23
我发现,该对话框需要与
I found out, that the dialog needs to be created with
Dialog dialog = new Dialog(this);
而不是
Context mContext = getApplicationContext();
Dialog dialog = new Dialog(mContext);
我完全不知道是什么原因。也许,任何人都可以解释给我?
I don't exactly know why. Perhaps anybody can explain it to me?