From 8f5361ba0d9eeaded8bcf9d1b14dbcfce7cc13fb Mon Sep 17 00:00:00 2001 From: Muthu Ramadoss Date: Fri, 7 Nov 2008 16:17:09 +0530 Subject: [PATCH 1/2] Enhancement: ApiDemos - App - Dialog - AlertDialog with MultipleChoices backed by Cursor Added an example for using AlertDialog in Multichoice mode backed up by Cursor. This example can be used to test the following bug: http://code.google.com/p/android/issues/detail?id=955 AMEND: Added a Toast to display readonly status of cursor, so data will not be updated. Removed empty code blocks, which did nothing. --- samples/ApiDemos/res/layout/alert_dialog.xml | 3 ++ samples/ApiDemos/res/values/strings.xml | 1 + .../android/apis/app/AlertDialogSamples.java | 34 +++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/samples/ApiDemos/res/layout/alert_dialog.xml b/samples/ApiDemos/res/layout/alert_dialog.xml index ddd5cb68f..741be33cb 100644 --- a/samples/ApiDemos/res/layout/alert_dialog.xml +++ b/samples/ApiDemos/res/layout/alert_dialog.xml @@ -41,6 +41,9 @@