AlertDialog with spinner on start of activity

风格不统一 提交于 2019-12-04 19:39:33

You could try AlertDialog.Builders setView() method to set your created View layout as the dialog's view.

builder.setView(layout);

In any case, it might be helpful to post the output of adb logcat to find out what exception is crashing your app.

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