How can I create my own theme for alertDialog?

后端 未结 5 879
有刺的猬
有刺的猬 2021-01-16 13:21

I want to create a different theme for all of alertDialog instances. I need my own title view instead of the usual black title background. All text should have a blue color,

5条回答
  •  庸人自扰
    2021-01-16 14:09

    please check this link. here am creating my own alertDialog class and its a simple method if you reuse the alertDialog in many situation in your application

    how Create setAdapter() for a AlertDialog

提交回复
热议问题