Sunday, 18 August 2013

Android: How to set a custom view for single choice alertdialog?

Android: How to set a custom view for single choice alertdialog?

You are the droids I have been looking for!
Fellow droids..
I'd like to change the title in a Single choice alertdialog to a custom
title. I know I can use dialog.setCustomTitle(View view) but that doesn't
seem to have any effect.
Also, I'd like to replace the radiobuttons with a custom button that I
created.
How can I do this? I'd rather use an alertdialog because of it's
simplicity, than create my own listview or gridlayout.
Help is much appreciated. Thanks!

No comments:

Post a Comment