How to set position of icon in the alert dialog? below is the code I am using...
AlertDialog.Builder builder = new AlertDialog.Builder(context);
builder.setIcon(int id);
How to set position of icon in the alert dialog? below is the code I am using...
AlertDialog.Builder builder = new AlertDialog.Builder(context);
builder.setIcon(int id);
There's no a method to do so. What you will have to do is setting a custom view to your dialog. Here it's explained: Creating a Custom Dialog