1

How to set the position of text message in alert dialog?. I want it to be in the middle

Dev
  • 505
  • 2
  • 8
  • 16

1 Answers1

1

Use AlertDialog.Builder to build your alert dialog and call setView(View view) with the view containing your message placed in the center.

Ron
  • 24,175
  • 8
  • 56
  • 97