开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜