I was looking for something like .requestFocus() to set focus for a
default button in a two-button AlertDialog, such that the user need
only press the enter key when accepting the default button (the one
that has focus). It seems though that neither PositiveButton nor
NegativeButton get a default focus, and I could not find a method to
set focus to either one of them. So how can one set focus to a
particular AlertDialog button?

Thanks.

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to