1

Is it possible for the title in the AlertDialog to be a custom View?

I would like to add an edit Button on the right side of the title bar.

jenzz
  • 7,239
  • 6
  • 49
  • 69
louieansonng
  • 343
  • 2
  • 7
  • 17

1 Answers1

1

In AlertDialog there is a method called setCustomTitle which you can pass custom view.

Hope this helps.

jenzz
  • 7,239
  • 6
  • 49
  • 69
Gopal
  • 1,719
  • 12
  • 13