So I would like to add a custom imageview to a ProgressDialog:
LinearLayout root = (LinearLayout)findViewById(R.id.root);
ProgressDialog pdialog = new ProgressDialog(context);
pdialog.setTitle("Wait");
pdialog.setMessage("Loading...");
pdialog.addContentView((ImageView)findViewById(R.id.imageV3iew1), root.getLayoutParams());
pdialog.setCancelable(false);
pdialog.show();
It says that the specified child already has a parent and I have to call removeView on the parent first. I know how to create custom dialogs but I would like to append my imageview right to the ProgressDialog. What kind of feature do I need to request?