1

We can change properties of each TextView or Button that is in AlertDialog.For example here you can see the way to change properties of TextView,or here for Button.But my question is in about changing properties of root view of AlertDialog.It may be done with findViewById(),but it needs ID of root view and I do not know it or it may be done in another way.Do you know how I can do it?

Note:My question is not in about creating custom AlertDialog.

Community
  • 1
  • 1
hasanghaforian
  • 13,858
  • 11
  • 76
  • 167
  • http://stackoverflow.com/a/3119581/646806 – RobinHood Feb 18 '13 at 11:07
  • Hi see this [Customizing Alert Dialog][1] In which he added a custom view to the alert Dialog [1]: http://stackoverflow.com/questions/2795300/how-to-implement-a-custom-alertdialog-view – Pragnani Feb 18 '13 at 11:07
  • Does this answer your question? [How can I change the background of Android alert dialogs?](https://stackoverflow.com/questions/3118601/how-can-i-change-the-background-of-android-alert-dialogs) – Asad Ullah Dec 23 '21 at 10:42

0 Answers0