[android-developers] Can't show AlertDialog

2011-06-25 Thread andrewg_oz
I must be missing something obvious, but just can't see it. Here's part of my Activity code: public static AlertDialog func(final Activity activity) { AlertDialog.Builder d = new AlertDialog.Builder(activity); d.setTitle(title); d.setMessage(message);

[android-developers] Re: Can't show AlertDialog

2011-06-25 Thread andrewg_oz
Thanks for your reply. On Jun 26, 1:34 am, TreKing treking...@gmail.com wrote: On Sat, Jun 25, 2011 at 5:19 AM, andrewg_oz andrew.greg...@gmail.comwrote: Not sure from looking at your code, but try calling create() on the builder first, returning the Dialog from the function first

[android-developers] Custom Dialogs with big messages

2011-02-11 Thread andrewg_oz
I've been creating custom dialogs using the SDK docs: http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog What I've wanted to do is have a dialog with an extra checkbox below a large chunk of text, so large in some cases that the text has to scroll. The checkbox should be