更新时间:2023-01-23 23:31:10
您正在使用操作栏的主题,而不是使用为对话框制作的主题
You are using the actionbar's theme instead use the theme made for dialog
示例:
ContextThemeWrapper wrapper = new ContextThemeWrapper(this, android.R.style.Theme_Holo_Dialog;);
如何在主题活动中显示 Holo(深色)AlertDialog?