I just started trying to learn the Android SDK, and I've noticed that it seems to lack a lot of documentation.
I was trying as a first exercise to add an "Every Day" option to the alarm clock that would click the other items when it is checked. In onPrepareDialogBuilder, I can check which index was clicked on, but I don't know how to set the items to checked. It seemed like I needed to use DialogPreference instead of ListPreference in AlarmClock's RepeatPreference.java, but I don't think I understand the relationship between DialogPreference, ListPreference, and AlertDialog though. If I change to a DialogPreference, I can add a LinearLayout in the onCreate method, but it didn't make sense how I would add CheckBoxPreferences to it. There's also a ToggleButton. Should I be trying to add that instead? I can't find any examples of DialogPreference being extended except in the Android code. Thanks for any information --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

