tags:

views:

213

answers:

1

Hi,

How to create an alert dialog with radio button on the side? I can create a dialog with 3 selection strings using AlertDialog.Builder, but how can I create the one with radio button on the side (i.e. allow only 1 selection)?

Thank you.

A: 

Use setView() in AlertDialog.Builder, perhaps? It is tough to tell what "the one with radio button on the side" means.

CommonsWare
Thanks. Can you please tell me how can I use setView() to have 2 lines of text in AlertDialog?where the first line is header , the second line is description?
hap497
It sounds as if Preferences might be what you're looking for.. http://www.kaloer.com/android-preferences/
I82Much
Is it possible to configure ListPreference to have 2 line of text instead of 1?Thanks.
hap497