how to set position of icon in the alert dialog
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
精彩评论